Re: semi-OT: awk - field separator

2007-11-15 Thread Robert Huff
Josh Carroll writes: > > What is the canonical way to get (FreeBSD default) awk to use a > > single double-quote as the field separator? I have tried variations > > on -F\\\" and -F"\"" and the best I can get is: > > awk -F'"' > > That's a single quote, then a double quote, then

Re: semi-OT: awk - field separator

2007-11-15 Thread Giorgos Keramidas
On 2007-11-15 13:24, Robert Huff <[EMAIL PROTECTED]> wrote: > What is the canonical way to get (FreeBSD default) awk to use a > single double-quote as the field separator? I have tried variations > on -F\\\" and -F"\"" and the best I can get is: > > + awk -F" {print $2} > ./script.sh: 1: Syntax er

semi-OT: awk - field separator

2007-11-15 Thread Robert Huff
What is the canonical way to get (FreeBSD default) awk to use a single double-quote as the field separator? I have tried variations on -F\\\" and -F"\"" and the best I can get is: + awk -F" {print $2} ./script.sh: 1: Syntax error: word unexpected Respectfully,

Re: semi-OT: awk - field separator

2007-11-15 Thread Josh Carroll
> What is the canonical way to get (FreeBSD default) awk to use a > single double-quote as the field separator? I have tried variations > on -F\\\" and -F"\"" and the best I can get is: > > + awk -F" {print $2} > ./script.sh: 1: Syntax error: word unexpected awk -F'"' That's a single quo