Librement Shaarli
Librement Shaarli
Tag cloud
Picture wall
Daily
RSS Feed
Login
Remember me
2012
shaares
45
private links
2012
shaares ·
45
private links
Filters
Links per page
20
50
100
regex - How to print a file, excluding comments and blank lines, using grep/sed? - Stack Overflow
With grep:
grep -v '^\s
$|^\s
#' file
May 15, 2024 at 2:30:45 PM GMT+02:00 * ·
permalink
·
·
https://stackoverflow.com/questions/17392869/how-to-print-a-file-excluding-comments-and-blank-lines-using-grep-sed
·
Filters
Links per page
20
50
100
Fold
Fold all
Expand
Expand all
Are you sure you want to delete this link?
Are you sure you want to delete this tag?
The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community