Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Programming in Linux _ Bash Help :(

Posted by: CompuChick Mar 13 2008, 09:55 AM

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 ?

Posted by: michaelk Mar 13 2008, 11:01 AM

This might help.

Powered by Invision Power Board (
© Invision Power Services (