[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GURU NEEDED : break a command into several lines and comment each line
From: |
bolega |
Subject: |
GURU NEEDED : break a command into several lines and comment each line |
Date: |
Thu, 13 Jan 2011 13:18:31 -0800 (PST) |
User-agent: |
G2/1.0 |
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 \ # comment3
arguments
One ought to be able to comment every single switch if desired for
whatever reason.
Bolega
- GURU NEEDED : break a command into several lines and comment each line,
bolega <=
- Re: GURU NEEDED : break a command into several lines and comment each line, suvayu ali, 2011/01/13
- Re: GURU NEEDED : break a command into several lines and comment each line, Pascal J. Bourguignon, 2011/01/13
- Re: GURU NEEDED : break a command into several lines and comment each line, Stefan Monnier, 2011/01/13
- Re: GURU NEEDED : break a command into several lines and comment each line, Berthold Höllmann, 2011/01/14
- Re: GURU NEEDED : break a command into several lines and comment each line, David W. Hodgins, 2011/01/14