Skip to content

Instantly share code, notes, and snippets.

@ppdeassis
Created January 19, 2016 19:09
Show Gist options
  • Save ppdeassis/8741ec954f82a0c6e71d to your computer and use it in GitHub Desktop.
Save ppdeassis/8741ec954f82a0c6e71d to your computer and use it in GitHub Desktop.
sed samples
# reference: http://stackoverflow.com/a/18840396
# portable across GNU and BSD - the -E option
sed -E 's/[[:space:]]?"[[:space:]]?//g' <path/to/file>
# NOTE the regex is just a sample
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment