Help - Search - Members - Calendar
Full Version: Bash Help :(
Linuxhelp > Support > Programming in Linux
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 ?
This might help.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.