mirror of
https://github.com/rasbt/python_reference.git
synced 2024-11-23 20:11:13 +00:00
syntax fix
This commit is contained in:
parent
0ea8947d94
commit
c031649455
|
@ -7,7 +7,7 @@
|
|||
# instead of
|
||||
# >> python myscript.py
|
||||
|
||||
# prepends !#/usr/bin/python to all .py files
|
||||
# prepends e.g., !#/usr/bin/python to all .py files
|
||||
|
||||
find ./ -maxdepth 1 -name "*.py" -exec sed -i.bak '1i\
|
||||
#!'"$(which python)"'
|
||||
|
|
Loading…
Reference in New Issue
Block a user