Hi Cameron
It does! I don't know how I missed that combination. I tried almost every
other combination.
thanks
david
On Thu, 21 Dec 2000, Cameron Simpson wrote:
On Wed, Dec 20, 2000 at 05:26:19PM -0500, David Brett [EMAIL PROTECTED] wrote:
| Does anybody know how to set the field separator
cut -f2 -d'=' means you don't have to fire up awk to do it
steve
-Original Message-
From: David Brett [mailto:[EMAIL PROTECTED]]
Sent: 21 December 2000 16:36
To: Cameron Simpson
Cc: [EMAIL PROTECTED]
Subject: Re: awk FS
Hi Cameron
It does! I don't know how I missed that combination
Does anybody know how to set the field separator to "="
david
___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list
Does anybody know how to set the field separator to "="
david
Did you try the "-F =" on the command line, or:
BEGIN {
FS = "="
}
MB
--
e-mail: [EMAIL PROTECTED]
Bart: Hey, why is it destroying other toys? Lisa: They must have
programmed it to
Yes the first does not give an error but treats the line as one field
david
On Wed, 20 Dec 2000, Vidiot wrote:
Does anybody know how to set the field separator to "="
david
Did you try the "-F =" on the command line, or:
BEGIN {
FS = "="
}
MB
--
Yes the first does not give an error but treats the line as one field
david
On Wed, 20 Dec 2000, Vidiot wrote:
Does anybody know how to set the field separator to "="
david
Did you try the "-F =" on the command line, or:
BEGIN {
FS = "="
}
Strange. But, then
On Wed, Dec 20, 2000 at 05:26:19PM -0500, David Brett [EMAIL PROTECTED] wrote:
| Does anybody know how to set the field separator to "="
Do this:
echo this=that | awk -F= '{print$2}'
Works just fine; prints "that" as expected.
--
Cameron Simpson, DoD#743[EMAIL PROTECTED]