Hi Everyone,
I have a flatfile "inbox.txt" which contains some information:
Location 0, folder "Inbox", SIM memory, Inbox folder
SMS message
SMSC number : "+24800000023"
Sent : Sat 04 Aug 2012 09:01:00 PM +0700
Coding : Default GSM alphabet (no compression)
Remote number : "+24705320988"
Status : Read
This is message 1
Location 1, folder "Inbox", SIM memory, Inbox folder
SMS message
SMSC number : "+24800000023"
Sent : Sat 04 Aug 2012 09:02:36 PM +0700
Coding : Default GSM alphabet (no compression)
Remote number : "+24705320988"
Status : UnRead
This is message 2
2 SMS parts in 2 SMS sequences
I just want to get phone' number and its message and output them to screen. it should be output as :
+24705320988
This is message 1
+24705320988
This is message 2
Could someone help me by shell script? . Thanks in advance