printing all of command executed in a script
Hi all.
As the subject above implys, I'd like to print all of commands
executed in a shell script.
(because after a while, I always forget all of commands hided in scripts at all.
)
For example, if I have the following file named 'script',
-- contents of a file --
ls -l | awk '{print $5}'
-- end of file --
and would invoked in command line like below,
$ ./script
want to display something like
== ls -l | awk '{print $5}' ==
312
312
123313
31232
1233
12213
Thanks in advance.
Reply to: