help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Extract all the commands called in a bash script


From: Chris Down
Subject: Re: [Help-bash] Extract all the commands called in a bash script
Date: Thu, 30 Jan 2014 11:05:17 +0800
User-agent: Mutt/1.5.22 (2013-10-16)

On 2014-01-29 21:03:04 -0600, Peng Yu wrote:
> 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.

I don't know how well it works, but you might want to try using
libbash[0], which claims to be able to parse out an AST.

I should disclaim that I have never used it.

[0]: https://github.com/neloe/libbash

Attachment: pgpsl3VayyZVg.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]