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


Click here to return to the 'grep faster and more effectively than grep, using grep' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
grep faster and more effectively than grep, using grep
Authored by: Coumerelli on May 24, '07 08:18:58AM
am I missing something? What's the difference between the 'correct' and 'incorrect' examples?
grep 'Price: $' partslist.txt
vs
grep 'Price: $' partslist.txt

---
"The best way to accelerate a PC is 9.8 m/s2"

[ Reply to This | # ]

grep faster and more effectively than grep, using grep
Authored by: wallybear on May 24, '07 08:30:35AM

the difference was eaten by geeklog, I think. The second command should read like this:


grep 'Price: \$' partslist.txt
# Correct: Matches "Price: " followed by a dollar sign



[ Reply to This | # ]