@angelheart
Quote:
angelheart wrote:
@Lio
can u try these :
grep -r wizard /path to folder/
grep -l 'wizard' *.c
grep -l 'wizard' /path to folder/*.c
here is the outcome :
6.JHO:Freedink-OS4/dink/Story> grep -r wizard JHO:Freedink-OS4/dink/Story/
grep: JHO:Freedink-OS4/dink/Story/: Not a directory
6.JHO:Freedink-OS4/dink/Story> grep -l 'wizard' *.c
grep: *.c: No such file or directory
6.JHO:Freedink-OS4/dink/Story> grep -l "wizard" *.c
grep: *.c: No such file or directory
6.JHO:Freedink-OS4/dink/Story> grep -l 'wizard' JHO:Freedink-OS4/dink/Story/
6.JHO:Freedink-OS4/dink/Story> grep -l 'wizard' JHO:Freedink-OS4/dink/Story/>ram:test
grep: JHO:Freedink-OS4/dink/Story/>ram:test: Invalid argument
6.JHO:Freedink-OS4/dink/Story> grep -l 'wizard' JHO:Freedink-OS4/dink/Story/ >ram:test
6.JHO:Freedink-OS4/dink/Story> grep -l 'wizard' JHO:Freedink-OS4/dink/Story/*.c
grep: JHO:Freedink-OS4/dink/Story/*.c: No such file or directory
6.JHO:Freedink-OS4/dink/Story> grep -l "wizard" JHO:Freedink-OS4/dink/Story/*.c
grep: JHO:Freedink-OS4/dink/Story/*.c: No such file or directory
@ Centaurz : nice, I did not know search could work like this ! thanks
@ all : thx for your help ! I think the tip of CentaurZ is much more amiga-ish (and working) then grep !