Skip to content

Instantly share code, notes, and snippets.

@fipped
Created September 23, 2020 02:36
Show Gist options
  • Select an option

  • Save fipped/b80d802adb1187e57e95c4166b3147c9 to your computer and use it in GitHub Desktop.

Select an option

Save fipped/b80d802adb1187e57e95c4166b3147c9 to your computer and use it in GitHub Desktop.
sed 删除带有指定内容的行
sed -e '/指定内容/d' old.log > new.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment