Skip to content

Instantly share code, notes, and snippets.

@gelias
Created March 6, 2017 01:53
Show Gist options
  • Save gelias/39c71ee2f38efa28c383412d649fde2d to your computer and use it in GitHub Desktop.
Save gelias/39c71ee2f38efa28c383412d649fde2d to your computer and use it in GitHub Desktop.
system("sed -i '1iNEW_TEXT' EXISTING_FILE.TXT")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment