Hi Ralph
On 12/03/15 15:34, Ralph Corderoy wrote:
Hi Tim,
I'd like to run multiple commands in Bash:
patch -m patchfile hg diff cd dir make -s
but for audit purposes I'd like each command in the list to be echoed
as run, even better I'd like the Bash prompt to appear too in front of
each
Hi
I'd like to run multiple commands in Bash:
patch -m patchfile hg diff cd dir make -s
but for audit purposes I'd like each command in the list to be echoed as
run, even better I'd like the Bash prompt to appear too in front of each
line.
I know that as an alternative I can put the
Not sure if this is what you want, but something like the following might
work. It doesn't do the bash prompt since there is not way of getting the
current prompt output reliably, but if you just want a fake one for display
purposes, you could hard code it into the script. Also, it doesn't check
Hi Tim,
I'd like to run multiple commands in Bash:
patch -m patchfile hg diff cd dir make -s
but for audit purposes I'd like each command in the list to be echoed
as run, even better I'd like the Bash prompt to appear too in front of
each line.
$ cat tim
id
date
false
4 matches
Mail list logo