![]() |
|
|
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 |
| Linux Shell Question: how to print the shell script name ? | meili100 | UNIX for Dummies Questions & Answers | 3 | 07-01-2008 02:55 PM |
| shell question | convenientstore | Shell Programming and Scripting | 2 | 06-03-2007 06:05 PM |
| AWK question in the KORN shell | penfold | Shell Programming and Scripting | 11 | 02-09-2005 09:14 AM |
| Question about Korn Shell | Latha Nair | Shell Programming and Scripting | 13 | 11-05-2003 07:30 AM |
| Shell question | anjanb2 | UNIX for Dummies Questions & Answers | 5 | 07-03-2002 01:00 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
HI,
Nice to meet u... I am a newbie. I have met a problem in the work as following: SRCLOG[0]="/Share/log/testlog/*" SRCLOG[1]="/Share/log/systemlog/*" SRCLOG[2]="/Share/log/log.conf" SRCLOG[3]="/Share/log/message" How can I get the file or directory value from each element of this array by shell? (How to remove the "/*"?) Expect result : SRCLOG[0]="/Share/log/testlog" SRCLOG[1]="/Share/log/systemlog" SRCLOG[2]="/Share/log/log.conf" SRCLOG[3]="/Share/log/message" Thank u very much indeed Best Regards! Last edited by GCTEII; 02-23-2006 at 05:32 AM.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|