How can I use 'grep' to get lines start with '* ' in my file?
I tried grep "*" myfile and grep "* " myfile but returns all the lines of my file.
|
How can I use 'grep' to get lines start with '* ' in my file? I tried
| ||||
|
feedback
|
|
The "*" is a special character that means "0 or more of the previous character." You need to escape this character.
| |||
|
feedback
|
| |||||||
feedback
|