How to protect string in qoutes during parsing
Posted in 1997
} }Hi, There: } }This is not a Informix question, but thought you guys are good at scripts } }I am using gawk to parsing some text and get following trouble. } }For example, I have a line to parse(use [, ] as field separators): } }Oh, I really like "gnu awk" } }The result I would like to see is: }1:Oh 2:I 3:really 4:like 5:"gnu awk" }instead of }1:Oh 2:I 3:really 4:like 5:"gnu 6:awk" } }Thanks In Advance. } }Yang /----------------------------------------------------------------/ Yang Li HUGHES STX Corp. NASA ECS Support Phone: (301)883-4175, 1(800)ECS-DATA ext. 4175 email: yangli@eos.hitc.com, hmyangli@hotmail.com (home) The shortest distance between two points is always under construction. /---------------------------------------------------------------/