Skip to content

Instantly share code, notes, and snippets.

@birchestx
Created January 6, 2014 02:08
Show Gist options
  • Save birchestx/8277083 to your computer and use it in GitHub Desktop.
Save birchestx/8277083 to your computer and use it in GitHub Desktop.
This will add the line specified with a line break at end above any empty lines in file. I used this in our ant build
:1,$s/^$/Dimensional.extension.changelog_dir=Shipusa\r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment