grep: excluding lines that begin with a blank character

Posted by Phenom on Stack Overflow See other posts from Stack Overflow or by Phenom
Published on 2010-05-10T06:15:18Z Indexed on 2010/05/10 6:24 UTC
Read the original article Hit count: 233

Filed under:
|

I have a text file where some lines have a character at the beginning and some lines don't. I want to print the text file to screen, excluding the lines that don't have a character at the beginning.

Can I do this with grep?

© Stack Overflow or respective owner

Related posts about grep

Related posts about egrep