hi,
i'm using this sed comande sed 's/"[^"]*"//g;s/#.*//' to
parse data file .
ex. data file :
"unwanted data" data
"unwanted data" data"unwanted data" #unwanted data
#unwanted data"unwanted data"
"#unwanted data" data#unwanted data
this sed comande takes out evrything between Double Quote and after #.
has anyone an idea on how to make the same in awk or nawk?
thanks Darshh
i'm using this sed comande sed 's/"[^"]*"//g;s/#.*//' to
parse data file .
ex. data file :
"unwanted data" data
"unwanted data" data"unwanted data" #unwanted data
#unwanted data"unwanted data"
"#unwanted data" data#unwanted data
this sed comande takes out evrything between Double Quote and after #.
has anyone an idea on how to make the same in awk or nawk?
thanks Darshh