The Road to Elysium
Remove comments and empty lines with grep
Initializing search
The Road to Elysium
Home
About
Archive
Archive
2024
2023
2021
2020
2018
2017
2016
2015
2014
2013
2012
2011
2010
2009
2008
2007
Categories
Categories
Apple
Linux
Snippets
Tutorials
Windows
Back to index
Jorge Enrique Barrera
Writer, father, nerd
Metadata
October 28, 2008
in
Linux
,
Snippets
1 min read
Remove comments and empty lines with grep
grep -v -e ^# -e ^$ file.txt