* awk on DU4.0B
@ 1998-02-07 5:00 Dr. Strangelove
[not found] ` <6bhqen$veg@eliot.oit.umass.edu>
0 siblings, 1 reply; 2+ messages in thread
From: Dr. Strangelove @ 1998-02-07 5:00 UTC (permalink / raw)
Does anyone know about any problems with awk under du4.0B? The reason
I ask is that the following works uder 3.2C, 3.2D and OSF/1 3.2, but
doesn't under 4.0B:
usercode=`echo $emailaddress|awk '{FS="@";print $1}'`
if emailaddress is, say, fred@domain then this shoud set usercode
equal to fred, but on 4.0B I get fred@domain.
Any ideas? Is there a patch?
Cheers,
Dr. Strangelove
Rewrite the address with the obvious bits taken out if you want to mail me.
mailto:ivegotan%at%ombomb%dot%org%with%no%spam%please
http://www.ombomb.org/
"Put your money on 'The Bribes', they always win." - Jello Biafra
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: awk on DU4.0B
[not found] ` <6bhqen$veg@eliot.oit.umass.edu>
@ 1998-02-08 5:00 ` Dr. Strangelove
0 siblings, 0 replies; 2+ messages in thread
From: Dr. Strangelove @ 1998-02-08 5:00 UTC (permalink / raw)
On 7 Feb 1998 09:17:59 -0500, peter@dev.null (Peter deFriesse) wrote:
[snip]
>PROBLEM: (QAR 47890, QAR 52639) (Patch ID: OSF410-400358)
>********
>This patch fixes a problem in which the awk -FS command does not display
>the correct output. For example,
>
> echo "pat@lampert@31050" | awk '{FS = "@";print $1$2$3}'
>
>Should print "patlampert31050". Instead, it prints "pat@lampert@31050",
>which is incorrect.
>
>
>FILE(s):
>
>/usr/bin/nawk subset OSFBASE410
>CHECKSUM: 13261 152
>/usr/bin/awk subset OSFBASE410
>CHECKSUM: 13261 152
>
Sound like my problem!
Thanks.
Dr. Strangelove
Rewrite the address with the obvious bits taken out if you want to mail me.
mailto:ivegotan%at%ombomb%dot%org%with%no%spam%please
http://www.ombomb.org/
"Put your money on 'The Bribes', they always win." - Jello Biafra
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-02-08 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-07 5:00 awk on DU4.0B Dr. Strangelove
[not found] ` <6bhqen$veg@eliot.oit.umass.edu>
1998-02-08 5:00 ` Dr. Strangelove
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox