[Help-bash] Extract all the commands called in a bash script
From:
Peng Yu
Subject:
[Help-bash] Extract all the commands called in a bash script
Date:
Wed, 29 Jan 2014 21:03:04 -0600
Hi,
I'm wondering if there is a way to extract all the commands called in
a bash script. This feature might be useful for analyzing dependencies
between commands.
The bash interpreter should be able to know all the commands. But it
doesn't seem that there is a way print them out.
Could anybody let me if there is a way to get such information? Thanks.
--
Regards,
Peng