I wrote:
> I'd say your best option would be to file a Python feature request, so
> that you could add something to your script that would have the same
> effect as the -O command-line option.
Something like this would also work:
#!/bin/sh
dummy='''
'
# shell code goes here; Python will ignore it
exec python -O "$0" ${1+"$@"}
'
'''
# Python code goes here; the shell won't reach it
import sys
print sys.argv
paul
_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils