Skip to content

Instantly share code, notes, and snippets.

@esmaeelE
Created January 27, 2020 01:57
Show Gist options
  • Save esmaeelE/4ed05a69aeba579cb6af61ebaebb37fd to your computer and use it in GitHub Desktop.
Save esmaeelE/4ed05a69aeba579cb6af61ebaebb37fd to your computer and use it in GitHub Desktop.

Remove 'com' substring from all lines

cat file.txt | sed 's/com//g' >newfile.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment