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
Windows XP: Compressed (zipped) Folders
Permanent Failure: Other address status
Hardware wizard keeps trying to install a non existant USB printer after every reboot.
Interview questions for the position of Online line marketing manager
Outsourcing Portals
Zen cart error - 1054 Unknown column 'p.products_id' in 'on clause'
Add individual members to Query-Based Distribution Group?
ODBC Access Driver - Connection for viewing linked Excel worksheet lost AND "File Now Available" pop up
IE6 Cant login to Java Applet site after Win XP patch auto-update (Firefox Ok but next patch disabled Firefox login also)
ASA Audit Trigger -- Get Column Name