Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] Bourne / bash problem



Hi,

I am not sure my wish is possible, maybe some of you
will be more clever than me...

I am writing some script, with commands like ffmpeg, handbrake,
or some video editing commands. They all take zillion of parameters,
and I would like to:
1) split the command with for instance one parameter per line (with
    the usual \ escaping character)
2) add y comments, so I can remember what I learn with my hundred tries.

Unfortunately, I cannot figure out how to do this. For instance, if I
have a comment
somewhere, I cannot escape the end-of line:
   [...]
   a-command \
   # a comment \
   another-command  #  another comment \
   [...]

Do you think there would be a way to include comments in such a situation?

Thanks,

Bruno.

--
2 + 2 = 5, for very large values of 2.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links