Search Results

Search: Posts Made By: santam
21,687
Posted By santam
yup, I have to say this is all a learning...
yup, I have to say this is all a learning experience!

Thanks to all for feedback!

Regards
Satnam
21,687
Posted By santam
works like a treat! now Im trying to figure...
works like a treat!

now Im trying to figure the logic behind it!

Thanks again :-)

Satnam
21,687
Posted By santam
realised I have to use substitute but but still...
realised I have to use substitute but but still no joy :-(

sed 's/^.*[a-zA-Z]*[.][0-9][0-9]$//'`
21,687
Posted By santam
extract string portion from filename using sed
Hi All,

I posted something similar before but I now have a another problem.

I have filenames as below

TOP_TABIN240_20090323.200903231830
TOP_TABIN235_1_20090323.200903231830

i need...
4,865
Posted By santam
WIkid!... works a treat. should have mentioned I...
WIkid!... works a treat. should have mentioned I was using bash v 3.x. used the last suggetsion

's/_[0-9][0-9]*[.][0-9][0-9]*$//'

Cheers

Sat
4,865
Posted By santam
extract string portion using sed
Hi All

I have 3 files as listed below and highlighted in bold the portions of the filenames I need to extract:
TOS_TABIN218_20090323.200903231830
TOS_TABIN219_1_20090323.200903231830...
Showing results 1 to 6 of 6

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