Search Results

Search: Posts Made By: WSUToad
5,144
Posted By WSUToad
Cool!...somehow pipe fitting is more intuitive to...
Cool!...somehow pipe fitting is more intuitive to my biologist brain, than figuring out prefix and suffix patters...
5,144
Posted By WSUToad
Ah nice! I think I can probably benefit from the...
Ah nice! I think I can probably benefit from the long code since it make me think about the nuts and bolts. This is a steep learning curve. Thanks.
5,144
Posted By WSUToad
OK so I figured out what each part of that little...
OK so I figured out what each part of that little script in the for loop (along with why you use curly brackets when calling a variable)

a="${temp%-*}" ##cuts everything after the c off of the...
5,144
Posted By WSUToad
Thank you sir. I see what you're doing. 1....
Thank you sir.
I see what you're doing.
1. you set the template
2. you set the variables
3. there's a "for-loop"
a. I guess now I have to familiarize myself with variable assignment and...
5,144
Posted By WSUToad
Ah...sorry I think I was a bit unclear. My...
Ah...sorry I think I was a bit unclear.
My goal is to take a file with name "file.a.b.c-d.r" and produce 4 exact copies of it with 4 different names:
"file.a.b.1-A.r"
"file.a.b.1-B.r"...
5,144
Posted By WSUToad
Thanks vgersh99! so, this "listOfFilesFile"...
Thanks vgersh99!
so, this "listOfFilesFile" should be a directory I should have already created and where the new files will be dumped to?
5,144
Posted By WSUToad
Noob's 1st...bash-script for copying one file into many
I have one file "file.a.b.c-d.r" that I would like to use to spawn 4 other files:

"file.a.b.1-A.r"
"file.a.b.1-B.r"
"file.a.b.1-C.r"
"file.a.b.1-D.r"

where the field "c-d" changes into my 1...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 07:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy