Skip to content

Instantly share code, notes, and snippets.

@wytten
Created October 2, 2013 17:50
Show Gist options
  • Select an option

  • Save wytten/6797644 to your computer and use it in GitHub Desktop.

Select an option

Save wytten/6797644 to your computer and use it in GitHub Desktop.
Edit one bash script from another, uncommenting a line
#!/bin/bash
vi flavour.sh << EOF
/BATCH_FLAVOUR-ua
:s/^#//
ZZ
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment