recently became utf-8 aware.
ok millert@
#!/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
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