echo "abc:bcd" |awk '{split($0,b,":");print "b[1]" is good }'
I want to "bcd" is good , anything is wrong with my, please don't change my thought with split, I just want to know what's wrong :o
echo "abc:bcd" |awk '{split($0,b,":");print "b[1]" is good }'
I want to "bcd" is good , anything is wrong with my, please don't change my thought with split, I just want to know what's wrong :o
remove " commas from b[1] put arround only "is good" and use b[2] to print bcd