Created
February 10, 2015 15:52
-
-
Save zbeekman/5a0d4a59daf03a3a87f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
((sed -i .back 's/ *$//' $1 && rm $1.back) || true) | tee -a $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment