From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,35465d925797d2a7,start X-Google-Attributes: gidfee84,public From: ivegotan%at%ombomb%dot%org@spam.spam.die.net (Dr. Strangelove) Subject: awk on DU4.0B Date: 1998/02/07 Message-ID: <34dc24aa.466468562@news.demon.co.uk>#1/1 X-Deja-AN: 322871629 Reply-To: ivegotan%at%ombomb%dot%org@spam.spam.die.net X-NNTP-Posting-Host: doris.demon.co.uk [158.152.173.211] Newsgroups: comp.unix.osf.osf1 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