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: rockmanac on May 24, '07 09:05:37AM

Is this supposed to be:

[code]
grep 'Price: $' partslist.txt
# Incorrect: Only matches "Price: " at the end of a line

grep 'Price: \$' partslist.txt
# Correct: Matches "Price: " followed by a dollar sign
[/code]
?

-A

---
"Communication is an ongoing, dynamic process between an infinite
number of variables with no beginning, middle or end."
-- Dr. Ken Ksobiech, Marquette



[ Reply to This | # ]