Source-Changes-HG archive

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

[src/trunk]: src/regress/usr.bin/sort fix the awk regexp for test 40B to work...



details:   https://anonhg.NetBSD.org/src/rev/553c5e79cdc5
branches:  trunk
changeset: 509867:553c5e79cdc5
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon May 14 20:39:10 2001 +0000

description:
fix the awk regexp for test 40B to work with nawk too

diffstat:

 regress/usr.bin/sort/stests |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 6bababd05367 -r 553c5e79cdc5 regress/usr.bin/sort/stests
--- a/regress/usr.bin/sort/stests       Mon May 14 20:35:58 2001 +0000
+++ b/regress/usr.bin/sort/stests       Mon May 14 20:39:10 2001 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 #      @(#)stests      8.1 (Berkeley) 6/6/93
-#      $NetBSD: stests,v 1.12 2001/04/18 02:25:38 itojun Exp $
+#      $NetBSD: stests,v 1.13 2001/05/14 20:39:10 jdolecek Exp $
 
 # This code is derived from software contributed to Berkeley by
 # Peter McIlroy.
@@ -977,7 +977,7 @@
                line = line line
        idx = 0
 }
-// { print $1 " " line; if (idx++ > 200) exit 0 }' > in
+/^/ { print $1 " " line; if (idx++ > 200) exit 0 }' > in
 ln -sf in out
 xsort "B" -f
 



Home | Main Index | Thread Index | Old Index