Bash sed: Difference between revisions

From I Will Fear No Evil
Jump to navigation Jump to search
(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")
(No difference)

Revision as of 13:03, 14 June 2022

Useful sed commands

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

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