![]() |
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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Passing global variable to a function which is called by another function | sars | Shell Programming and Scripting | 4 | 06-30-2008 11:39 AM |
| function help | coolkid | Shell Programming and Scripting | 2 | 05-01-2008 01:47 PM |
| Log function | Ernst | Shell Programming and Scripting | 17 | 03-19-2007 12:31 PM |
| awk with function ?? please, help :( | sabercats | Shell Programming and Scripting | 0 | 03-13-2006 07:52 PM |
| How to convert the "select" function into a "poll" function | rbolante | High Level Programming | 1 | 07-10-2001 10:49 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Function within function (Recurance)
Slight prob with the placement of func in func
Just to list directories within directories The func below will only list the first set of dir after home dir I need it to list below anyother dir within that dir function ListDir (){ for list in $(ls $1) do if [ -d $1/$list ] then echo $list fi done } ListDir $HOME Thanx |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|