From kde-core-devel Fri Nov 25 11:52:36 2005 From: Stephan Kulow Date: Fri, 25 Nov 2005 11:52:36 +0000 To: kde-core-devel Subject: Re: [PATCH] two patches for 114771 Message-Id: <200511251252.36826.coolo () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=113291957202644 Am Freitag, 25. November 2005 12:42 schrieb Adriaan de Groot: > On Wednesday 23 November 2005 14:26, S.Çağlar Onur wrote: > > Çarşamba 23 Kasım 2005 15:14 tarihinde, Stefan Teleman şunları yazmıştı: > > > 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 > > not 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 > either. All the machines I have access to from here have awk in /usr/bin. You figure this is all about parsing a pretty simple string? Greetings, Stephan