pastebin - collaborative debugging tool
wtfsh.kpaste.net RSS


re: find_wtf
Posted by Anonymous on Fri 8th Apr 2016 15:02
raw | new post

  1. # re: find_wtf (http://wtfsh.kpaste.net/f834c4086)
  2.  
  3. touch "one two"; f() { find . -iname "*$@*"; }; set -x; f one two
  4.  
  5. + f one two
  6. + find . -iname '*one' 'two*'
  7. find: paths must precede expression: two*
  8. Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]

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