Created
February 21, 2016 15:18
-
-
Save trigfa/c47f7e3dbfddf95657d8 to your computer and use it in GitHub Desktop.
Replacing a string including a space and slashes using sed.
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
sed -i -- "s|/usr/bin/env python|/usr/bin/python|g" *.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment