On Thu, 13 Jan 2011 16:18:31 -0500, bolega <gnuist...@gmail.com> wrote:

how to break a command with several switches into more than one line
AND to be able to put some comment on each line.
command       \ # comment1
         -sw1 \ # comment2

Not what you want to hear, but that will not work.  With the above,
the backslash is being used to escape the following space, rather
then a newline, as is required to continue the line.  Even if it
were to work that way, would the next line be considered a continuation
of the command, or of the comment?

Your stuck with

command       \
         -sw1
# comment1
# comment2

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to