Skip to content

Instantly share code, notes, and snippets.

@jms
Created May 17, 2012 21:39
Show Gist options
  • Select an option

  • Save jms/2721728 to your computer and use it in GitHub Desktop.

Select an option

Save jms/2721728 to your computer and use it in GitHub Desktop.
remove comment in configuration files
grep -v '^#' file | grep '\w' > new.file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment