akelabanda
Programmer
Hi Guys
How can I read a record from input file which is split across 2 lines. A sample record is shown below
STLVGB0Q1_TMC121245.TLG;1
17549/17745 28-JUN-2006 09:28:00 [DECSS7] (RWED,RWED,RE,)
STLVGB0Q1_TMC121245.TLG;1 is on one line, the rest on the next line.
I need to extract the sequence number 121245 from line 1 and timestamp 28-JUN-2006 09:28:00 from the second line.
I'm a newbie on shell scripts.
Any help would be appreciated.
Cheers
Raj
UK's best mobile deals online
How can I read a record from input file which is split across 2 lines. A sample record is shown below
STLVGB0Q1_TMC121245.TLG;1
17549/17745 28-JUN-2006 09:28:00 [DECSS7] (RWED,RWED,RE,)
STLVGB0Q1_TMC121245.TLG;1 is on one line, the rest on the next line.
I need to extract the sequence number 121245 from line 1 and timestamp 28-JUN-2006 09:28:00 from the second line.
I'm a newbie on shell scripts.
Any help would be appreciated.
Cheers
Raj
UK's best mobile deals online