info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sccs2rcs and awk


From: Kris Thielemans
Subject: sccs2rcs and awk
Date: Thu, 6 Feb 2003 17:01:34 -0000

Hi,

I'm trying to use the latest sccs2rcs in the contrib directory on Solaris
2.7. It turns out that the Y2K patch introduced an awk line that is not
understood by Solaris' awk.
The line is as follows:

sccs prs -r1.1 Makefile| awk '/^D / {print (substr($3,0,2)+0<70?20:19) $3,
$4; exit}'

The substr() is fine, but it seems Solaris awk can't do statements like
1<70?20:19.
GNU awk of course can.

Not a big problem, but just such that you know...

Kris Thielemans
(kris.thielemans <at> ic.ac.uk)
Imaging Research Solutions Ltd
Cyclotron Building
Hammersmith Hospital
Du Cane Road
London W12 ONN, United Kingdom

web site address: http://www.irsl.org/~kris





reply via email to

[Prev in Thread] Current Thread [Next in Thread]