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
Adwords coupons
OWA not opening correctly in my browser anymore
Log full on my watchguard 750 e firewall
Textcopy with trusted connection and Windows authentication
cookie
How to monitor changes in file content?
How do I install symantec antivirus on a Vista home premium machine. I get an error 1920
Exchange Mail store will not mount.
executing commands after telnetting to a server on listening defined port
Don't trim trailing space in varchar fields?