Search Results

Search: Posts Made By: yshahiac
2,809
Posted By yshahiac
I had to make a small change for it to work....
I had to make a small change for it to work. Instead of

cnt=${a#*.}

I have

cnt=${file#*.}

then it worked.

Thanks
2,809
Posted By yshahiac
Move files
I have multiple file with names

april.0001.frm.edi
april.0002.frm.edi

I created a list with all the file names which has "860" inside the file and named the list as april-860-list

I need to...
3,330
Posted By yshahiac
Thank you. It worked.
Thank you. It worked.
3,330
Posted By yshahiac
Thanks for your reply. You are correct. I do need...
Thanks for your reply. You are correct. I do need CHRY.850.01 etc. When I ran you code, I am getting

mv april.split.03 CHRY.850.
mv april.split.04 CHRY.850.
mv april.split.05 CHRY.850.
...
3,330
Posted By yshahiac
Rename multiple file from file listing
I am new at Linux/UNIX programming. Here is my problem.
I had one big file which I split using the command

csplit -k -s -f april.split. april '/^ISA/' '{10000}'

So now I have multiple files...
Forum: Linux 06-04-2008
3,587
Posted By yshahiac
combining two lines in Linux script
Here is my original file

A07ISALES
12
12
383.G_M_GMX272.HAMTRAMCK.INTERIOR_TRIM.32949

I want to convert it to

A.07.ISALES.12.383.G_M_GMX272.HAMTRAMCK.INTERIOR_TRIM.32949

Basically,...
Showing results 1 to 6 of 6

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