Grep a file
gregoryba at gmail.com
Wed Jan 17 20:15:03 UTC 2007
this might work:
grep -v '^\;' originalfile > newfile
On 17/01/07, Joshua Lewis <joshua.lewis at familyfunzone.net> wrote:
> I have a config file that uses ; as a comment character.
> Unfortunately there are soooooooo many comments I can't read the
> options that have been enabled.
> Can I use grep or another tool to pull all the lines in this file
> that do not start with the ; and place them into another file so I
> can actually read what this file is doing?
> Thanks for any help.
> Joshua Lewis
> joshua.lewis at familyfunzone.net
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
Greg Albrecht (gregoryba at gmail.com)
An Indie, Hip Hop and IDM Podcast: The Letter G
More information about the freebsd-questions