pastebin - collaborative debugging tool
wtfsh.kpaste.net RSS


find_wtf
Posted by Anonymous on Fri 8th Apr 2016 14:10
raw | new post

  1. ┌───| ~/testar/tmp/ftmp ](me@main)|[17:02][p:4656][bn:50][j:0][0] (master *)
  2. └─$  touch "one two.sh"
  3.  
  4. ┌───| ~/testar/tmp/ftmp ](me@main)|[17:02][p:4656][bn:50][j:0][0] (master *%)
  5. └─$ l
  6. total 8,0K
  7. -rw-r--r-- 1 me me 0 Apr  8 17:02 one two.sh
  8.  
  9. ┌───| ~/testar/tmp/ftmp ](me@main)|[17:02][p:4656][bn:50][j:0][0] (master *%)
  10. └─$  f () { find . -iname "*$1 $2*" ;}
  11.  
  12. ┌───| ~/testar/tmp/ftmp ](me@main)|[17:03][p:4656][bn:50][j:0][0] (master *%)
  13. └─$  f one two
  14. ./one two.sh
  15.  
  16. ┌───| ~/testar/tmp/ftmp ](me@main)|[17:03][p:4656][bn:50][j:0][0] (master *%)
  17. └─$  f () { find . -iname "*$@*" ;}
  18.  
  19. ┌───| ~/testar/tmp/ftmp ](me@main)|[17:03][p:4656][bn:50][j:0][0] (master *%)
  20. └─$  f one two
  21. find: paths must precede expression: two*
  22. Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
  23.  
  24. ┌───| ~/testar/tmp/ftmp ](me@main)|[17:09][p:4656][bn:50][j:0][1] (master *%)
  25. └─$  find . -iname "*one two*"
  26. ./one two.sh

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}





All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at