![]() |
|
|
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 |
| separating entries by using cat command | za_7565 | Shell Programming and Scripting | 7 | 01-29-2008 08:00 AM |
| filename extension check - regular expression | devs | Shell Programming and Scripting | 4 | 03-02-2007 03:01 PM |
| Separating commands/programs with ; | dush_19 | High Level Programming | 2 | 06-22-2006 06:34 AM |
| separating fields | new2ss | Shell Programming and Scripting | 5 | 02-19-2006 09:02 PM |
| separating commands | mile1982 | High Level Programming | 2 | 09-13-2004 12:41 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
separating filename and extension
Hi (warning: newbie question), I am writing a script to run a series of tests on a program, which involves a line: Code:
for file in `ls test_suite/*.args` but later I want to send the output to file.out. But I need to separate the filename and extension somehow...Also $file contains "test_suite/" before each entry as well, how do I get rid of that (I assume it's in a similar way as the separation above) Thanks! |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|