diff options
author | Anton Lindqvist <anton@cvs.openbsd.org> | 2023-09-18 18:33:18 +0000 |
---|---|---|
committer | Anton Lindqvist <anton@cvs.openbsd.org> | 2023-09-18 18:33:18 +0000 |
commit | df1ad7a2370e6466128088bc2f14f629e72515aa (patch) | |
tree | fea1f6f2d4b73f52be01af2094dd7b3ba693cb7a /regress/usr.bin | |
parent | 06e922d7965ba4252017137037b59799c05047ea (diff) |
Favor jot while generating characters within the [1, 256) range as awk
recently became utf-8 aware.
ok millert@
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/sed/sedtest.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/regress/usr.bin/sed/sedtest.sh b/regress/usr.bin/sed/sedtest.sh index d8e1340af62..144fc80f5cd 100644 --- a/regress/usr.bin/sed/sedtest.sh +++ b/regress/usr.bin/sed/sedtest.sh @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: sedtest.sh,v 1.8 2018/12/07 15:30:31 schwarze Exp $ +# $OpenBSD: sedtest.sh,v 1.9 2023/09/18 18:33:17 anton Exp $ # # Copyright (c) 1992 Diomidis Spinellis. # Copyright (c) 1992, 1993 @@ -359,8 +359,7 @@ p test_print() { echo Testing print and file routines - awk 'END {for (i = 1; i < 256; i++) printf("%c", i);print "\n"}' \ - </dev/null >lines3 + { jot -c -s '' 255 1; printf '\n'; } >lines3 # GNU and SunOS sed behave differently here mark '7.1' $SED -n l lines3 |