Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Bash Help :(
CompuChick
post Mar 13 2008, 09:55 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 13-March 08
Member No.: 13,377



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 ?
Go to the top of the page
 
+Quote Post

Posts in this topic
- CompuChick   Bash Help :(   Mar 13 2008, 09:55 AM
- - michaelk   This might help. http://tldp.org/LDP/abs/html/stri...   Mar 13 2008, 11:01 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 13th December 2017 - 09:39 PM