ls -lart | grep -i file (then EOL)
Posted on 2005-03-03
ls -lart | grep -i file
let's say I have 100's of files that end in the file path:
I'm wanting to look for just "file<end of line>", something like this:
ls -lart | grep -i file\013 (use, like a character code for the EOF).
I like to run a command:
find . >files
to get a list of files in a directory - and do a search on those files...
cat files | grep -i \\/file\013
I just need to know how include the eol in my search. I've used it before, but I forgot.