3

grep for lines not containing #

view full story
linux-howto

http://www.unix.com – I'm trying to grep for lines not containing a #. I'm not getting the syntax right. This is what I have tried so far. Code: grep -v \\# /home/bob/.config/vlc/vlcrc grep -v '\\#' /home/bob/.config/vlc/vlcrc grep -v "\\\\#" /home/bob/.config/vlc/vlcrc I tried to look at this thread of mine for ideas with no luck. http://www.unix.com/unix-advanced-ex...-question.html (HowTos)