![]() |
|
|
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 |
| passing variable from bash to perl from bash script | arsidh | Shell Programming and Scripting | 10 | 06-04-2008 01:25 PM |
| Why generate "ash and bash" different output for same bash script? | s. murat | Shell Programming and Scripting | 0 | 05-26-2008 08:19 AM |
| using sed on bash variables (or maybe awk?) | rev66 | Shell Programming and Scripting | 2 | 03-13-2008 11:17 PM |
| server variables in bash scripting | basher400 | UNIX for Dummies Questions & Answers | 6 | 04-12-2005 08:44 AM |
| bash shell variables | xNYx | UNIX for Dummies Questions & Answers | 3 | 04-15-2002 05:36 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Bash variables
Ummm can anybody help me with this one?
Its prob quite simple. I bascially have a file name say J1x2x3x7.dat Im using the file name as a variable in a bash script. Want I want to do is extract most of the file name and make it a new variable expect with say one of the number now a wildcard, so have something like J1x*x3x7.dat as my new file name? Can this be easily done. I'm sure it can smile.gif ? |
|
|||||
|
Quote:
However, be aware that such a filename can cause problems. See the POSIX standard for portable filenames: General Concepts: Filenames Definitions: Portable Filename Character Set |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|