> #!/bin/bash -xv
> command \ # comment1
> -sw1 \ # comment2
> -sw2 \ # comment3
> arguments
> One ought to be able to comment every single switch if desired for
> whatever reason.
Thanks for the riddle. Here's a solution:
command$(: # comment1
)
On Thu, 13 Jan 2011 13:49:06 -0800, Chris Rebert wrote:
> On Thu, Jan 13, 2011 at 1:18 PM, bolega wrote:
>> Basically, I have spent a few hours experimenting and searching on the
>> comp.unix.shell
[...]
> This doesn't seem to have anything whatsoever to do with Python...
Well, I launch Python s
On Thu, 13 Jan 2011 16:18:31 -0500, bolega 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
bolega writes:
> Basically, I have spent a few hours experimenting and searching on the
> comp.unix.shell
>
> how to break a command with several switches into more than one line
> AND to be able to put some comment on each line.
>
> #!/bin/bash -xv
>
> command \ # comment1
> -sw1
On Thu, Jan 13, 2011 at 1:18 PM, bolega wrote:
> Basically, I have spent a few hours experimenting and searching on the
> comp.unix.shell
>
> how to break a command with several switches into more than one line
> AND to be able to put some comment on each line.
>
> #!/bin/bash -xv
>
> command
Basically, I have spent a few hours experimenting and searching on the
comp.unix.shell
how to break a command with several switches into more than one line
AND to be able to put some comment on each line.
#!/bin/bash -xv
command \ # comment1
-sw1 \ # comment2
-sw2 \ # com