We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ea8947 commit c031649Copy full SHA for c031649
1 file changed
useful_scripts/prepend_python_shebang.sh
@@ -7,7 +7,7 @@
7
# instead of
8
# >> python myscript.py
9
10
-# prepends !#/usr/bin/python to all .py files
+# prepends e.g., !#/usr/bin/python to all .py files
11
12
find ./ -maxdepth 1 -name "*.py" -exec sed -i.bak '1i\
13
#!'"$(which python)"'
0 commit comments