see following command executed in fish , bash:
tmp ) touch file1 file2 file3 file4 tmp ) find . -exec echo {} \; tmp ) bash ^_^ ~/tmp > find . -exec echo {} \; . ./file3 ./file2 ./file1 ./file4 why fish not understand echo {} \;?
thanks carl.
{ , } have special meanings in fish. need escaped in order work find, example:
find . -exec echo \{\} \;
Comments
Post a Comment