Microsoft
Software
Hardware
Network
Question : Get the string from a specific position
I am looking for a specific string in a file .I need the value after the specific string
echo `head -1 xxx|sed 's/ //g'`|grep DATE=
I need to get the value of 6 charectsrs after DATE= in the header line
Here is the sample
200635SEE DATE=050708 HDR
Finally I need to sarch for DATE= & get the value after that(6 CHarecters)
Answer : Get the string from a specific position
sed 's/.*DATE=\(......\).*/\1/
'
Random Solutions
What does 'Cannot Create Transaction because Capacity was Exceeded' mean?
How to Modify or configure Finger print in toshiba LapTop
Can't create an appointment in Outlook calendar
Default Recipient policy setting
BackupExec 11 and restoring Exchange 2007 mailbox information (individual)
Vista hates me. OEM version activation problem
Remove conflicker
unlink/file list
Changing SQL Server Service Account - On Mass
Device Manager is Blank