grep .
From wikieduonline
Jump to navigation
Jump to search
grep -v -e '^$' foo.txt
spaces
tail -n +2
trim
See also[edit]
ack, ag, grep
, egrep, fgrep
, agrep
, ngrep
, pgrep
, awk
, sed
, strings
, tr
, tail
, mtail
, git grep
, wc
, uniq
, LogQL
, findstr (Windows)
, rg, git-grep, cut