j
k
j a
j l
Is there a command line option on grep that says count ALL occurances on a line not just the first one???
echo "jerry jerry" | grep -c jerry
only returns 1 and not 2. Looking at the man page I did not see anything like that.
Thanks,
Jerry
Back to the thread
Back to the list