Quotation Ugliness

random832 at fastmail.us random832 at fastmail.us
Wed Nov 26 16:16:20 CET 2014

On Wed, Nov 26, 2014, at 10:02, Tim Daneliuk wrote:
>    someprog.py "uname && sudo cat /etc/sudoers"
>   vs.
>    someprog.py 'uname && echo "sudo cat /etc/suoders"'

I think it would be better to provide a general way for the user to
provide an input script as an option, rather than to specifically detect
the use of sudo. What if the command is a shell script that calls sudo
within the script?

More information about the Python-list mailing list