Bash sed

From I Will Fear No Evil
Revision as of 13:03, 14 June 2022 by Chubbard (talk | contribs) (Created page with "==== Useful sed commands ==== cat foo | sed "1,/^stringMatch/d" * Will ignore all before string match until EOF * stringMatch must be start of line (^) Category:bash")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Useful sed commands

cat foo | sed "1,/^stringMatch/d"

  • Will ignore all before string match until EOF
  • stringMatch must be start of line (^)