From kde-core-devel Fri Nov 25 11:42:50 2005 From: Adriaan de Groot Date: Fri, 25 Nov 2005 11:42:50 +0000 To: kde-core-devel Subject: Re: [PATCH] two patches for 114771 Message-Id: <200511251242.56743.groot () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=113291908611491 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart1506291.fHLrTbutDz" --nextPart1506291.fHLrTbutDz Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 23 November 2005 14:26, S.=C3=87a=C4=9Flar Onur wrote: > =C3=87ar=C5=9Famba 23 Kas=C4=B1m 2005 15:14 tarihinde, Stefan Teleman =C5= =9Funlar=C4=B1 yazm=C4=B1=C5=9Ft=C4=B1: > > here are two patches based on 3.5rc1 (attached) for bug 114771. > > Jut saw while looking, from ktimezones.cpp > > -"/bin/awk" << "'{print \"??\\t+9999+99999\\t\" $2}'"; > + ......<< " | " << "/usr/bin/nawk " << "'{ print \"??\\t+9999+99999\\t\" > $2 }' > " << temp.... > > I think nawk not comes with all distros so hardcoding this into code is n= ot > a good idea, using /bin/awk is much more safer for compatibilty. You mean "/usr/bin/env" "awk", since awk doesn't necessarily live in /bin= =20 either. All the machines I have access to from here have awk in /usr/bin. =2D-=20 These are your friends - Adem GPG: FEA2 A3FE Adriaan de Groot --nextPart1506291.fHLrTbutDz Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBDhvjAdqzuAf6io/4RAmPAAJ9U4j9o+kssrPOdsgi8EkquOPWd6QCfS3F1 EUfGhdY/cHkmK8aUm/EJ9qE= =nROl -----END PGP SIGNATURE----- --nextPart1506291.fHLrTbutDz--