fork download
  1. function find(regex){
  2. for(i=1;i<=NF;i++)
  3. if($i ~ regex)
  4. print $i
  5. }
  6.  
  7. {
  8. find(@/mysql/)
  9. }
Success #stdin #stdout 0s 5656KB
stdin
this line contains mysql
this one doesn't
stdout
mysql