Greetings all. Wow, I can't believe there is an awk forum. But thank goodness there is.
I've read "Getting Started With Awk" ( But it doesn't have what I'm looking to do.
Basically I want awk to read this line
$1 $2 asdfBADNAMEasdf "bla bla bla" '(any number of bla bla bla's here) (GOODNAME)'endendend
and output this
$1 $2 asdfGOODNAMEasdf "bla bla bla" '(any number of bla bla bla's here)'endendend
I'd greatly appreciate any help or advice. Also, if there's a way to do this from a shell script or another command I wasn't aware of, please let me know. Thanks for your time.
I've read "Getting Started With Awk" ( But it doesn't have what I'm looking to do.
Basically I want awk to read this line
$1 $2 asdfBADNAMEasdf "bla bla bla" '(any number of bla bla bla's here) (GOODNAME)'endendend
and output this
$1 $2 asdfGOODNAMEasdf "bla bla bla" '(any number of bla bla bla's here)'endendend
I'd greatly appreciate any help or advice. Also, if there's a way to do this from a shell script or another command I wasn't aware of, please let me know. Thanks for your time.