hi,
The following line is contained in a file
YES:pmd:-start,0x7fffffffffffff1f,0x0000000000000000,{CCB}.*:NO:60:NOPAUSE:
I would like to extract only the following:
0x7fffffffffffff1f,0x0000000000000000,{CCB}.*
using cut and awk commands
Regards
Peru
Page 1 of 1
using cut and awk commands
#2
Posted 17 September 2008 - 03:31 AM
Hey There,
If you're stuck on using awk "and" cut, this could do it:
Best wishes,
Mike
If you're stuck on using awk "and" cut, this could do it:
awk -F"," '{print $2 "," $3 "," $4}' FILENAME|cut -f1 -d:
0x7fffffffffffff1f,0x0000000000000000,{CCB}.*Best wishes,
Mike
The greatest viral marketing idea of all time, get your copy of this Free Report now!
----
Linux Tips, Trick and Advice -- The Linux and Unix Menagerie
----
Linux Tips, Trick and Advice -- The Linux and Unix Menagerie
#4
Posted 18 September 2008 - 02:21 AM
Glad to help out 
, Mike
, Mike
The greatest viral marketing idea of all time, get your copy of this Free Report now!
----
Linux Tips, Trick and Advice -- The Linux and Unix Menagerie
----
Linux Tips, Trick and Advice -- The Linux and Unix Menagerie
Page 1 of 1

Sign In
Register
Help


MultiQuote