Sed
Posts  1 - 1  of  1
oktbabs
Hi, I am writing a shell script using sed which i am not quite familiar with. I How can i pick out only the name and the time fields from the strings in the examples below with a script:

For example: West_MD_ATA-080625.230739.109
stockport-081218.171758.274
---------------------------------------------------------

West_MD_ATA-080625.230739.109.d3v61r678.zip
westm.2edebb95-62f3-49c0-9966-985b21e4e3c4.985b21e4e3c4.985b21e4e3c4.985b21e4e3c4.081218.220512.121.d3v82r1193.zip
Walth._Forest_&_Redbridge-080719.113204.595.d3v60r359.zip
Warm_-071115.232332.138.d3v44r182.zip
Warring-071001.202400.005.d3v38r169.zip
Western_Che-070726.211935.453.d3v26r81.zip
waltham_forest-redbridge.69c7d0f6-14e2-4d35-90f4-75ecedbbe7e1.75ecedbbe7e1.75ecedbbe7e1.75ecedbbe7e1.090226.140312.684.d3v60r692.zip
SouthBeds_0x005f_12-12-06-070106.032823.752.d3v6r12.zip
stockport.d8cb7710-88f5-42da-b375-e242032aed14.e242032aed14.e242032aed14.e242032aed14.081218.171758.274.d3v80r1190.zip
bionic_0x005f_January_0x005f_2009-090217.210625.954.d1v1r38.zip
Telford&Wrekin_and_Shrop-080701.233050.104.d3v66r688.zip

Regards

teebuk
Save
Cancel
Reply
 
x
OK