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
Koday Easy Share has hijacked jpg files, how do I undo it?
SQL - Copy todays records from one table to another table (Scheduled)
Windows Activation Error - Vista
Copy Profiles off terminal Server
Mobile browser detection
What are your opinions on the Windward System Five POS software?
Exchange 2003, Juniper and barracuda outgoing email through secondary IP
VPN issue with ASA firewall
Getting Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL error
SBS 2003, Exchange, deleted email, want to recover both user and email folder. how to do this...