Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create a list of login (startup) items' paths' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a list of login (startup) items' paths
Authored by: boredzo on Nov 28, '05 02:50:11PM

when searching for a plain string (rather than a regular expression), you should use fgrep instead of grep ('f' standing for 'fixed string'). fgrep, or grep -F, does none of the regular-expression magic that grep does, making it slightly faster and sometimes eliminating the need to escape things (like if you want to search for '[fooString length]' in some source code).



[ Reply to This | # ]
grep vs. fgrep
Authored by: MJCube on Nov 30, '05 08:01:54AM
Excellent advice, although grep is so blazingly fast that the time saved on typically tiny search operations like these is probably less than the time it takes to type the letter f!

[ Reply to This | # ]