![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Parse for errors shell script | bubba112557 | Shell Programming and Scripting | 2 | 04-02-2009 12:25 PM |
| How to: Parse text string into variables using Korn shell | shew01 | Shell Programming and Scripting | 7 | 05-23-2008 11:01 AM |
| Parse a string in XML file using shell script | ayhanne | Shell Programming and Scripting | 46 | 01-09-2008 12:33 PM |
| How to parse config variables from external file to shell script | pradsh | Shell Programming and Scripting | 2 | 07-09-2007 03:21 PM |
| shell scripts that parse log files | trueman82 | Shell Programming and Scripting | 4 | 11-22-2006 06:09 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to parse large numbers of shell scripts
I am trying to parse hundreds of shell scripts to determine how they related to each other. Ideally for every script, I would get an output of:
Any ideas on how to do this? TIA! |
|
||||
|
Sounds like you would have to parse each script individually and then search the script for calls to other scripts. Definately a job for PERL. Can you give a sample of what you want. Are you searching a directory for scripts and parsing or the whole filesystem, or an inputted path? Maybe you give us a little more information.
|
|
||||
|
I have a CVS tree that has all the scripts in it, I simply want to have output like:
Code:
Script_Name Calls Script Reads File Creates file ---------------------------------------------------------------------- sample.sh otherscr.sh datafile.out sampleout.out sample2.sh onemore.sh output.out script2.sh sample.sh TIA |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|