As title says, what does grep ^- mean in UNIX?
I know what grep is but not the metacharater ^- part.
As title says, what does grep ^- mean in UNIX? I know what grep
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
^is the regular expression meta character for start of line-in this context is not a metacharacterThis expression therefore matches any – character at the start of a line and with grep will return any line starting with –
will match
Won’t match