Skip to content

Instantly share code, notes, and snippets.

@jvmvik
Created February 23, 2016 19:56
Show Gist options
  • Save jvmvik/3c7936e29111c452c62e to your computer and use it in GitHub Desktop.
Save jvmvik/3c7936e29111c452c62e to your computer and use it in GitHub Desktop.
# Remove a line from a file. Ruby 1.9 >
ruby -i.bak -ne 'print if not /POR_CHIE_DAT_RSVDC_WIDTH_PARAM|HNF_SLC_DSLICE_PARAM/' spec/porter_1_*.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment