Quote:
Originally posted by crabboy
Code:
grep -n "^D" filename
The -n tells grep to return the line number the pattern was found on. The ^ character says that the D must be on the beginning of the line.
|
I will try something like
grep -n "D" filename
Since it can be anywhere at the line..
Thanks Alot Bro.. appreciate it..
Peace,