summaryrefslogtreecommitdiff
path: root/regress/misc
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-12-02 19:36:36 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-12-02 19:36:36 +0000
commitbb9627365956b6079bdee0eb687235f1d7c185ce (patch)
tree337b01636b69070b7e9b2e98d86870d21d1613b2 /regress/misc
parente3e8b740e80edf8a640a1fd2ce4ac5e4d8e940cf (diff)
quicky test for cut
Diffstat (limited to 'regress/misc')
-rw-r--r--regress/misc/utf8/t2.exp3
-rw-r--r--regress/misc/utf8/t2.sh4
2 files changed, 7 insertions, 0 deletions
diff --git a/regress/misc/utf8/t2.exp b/regress/misc/utf8/t2.exp
new file mode 100644
index 00000000000..c7acb6cca1c
--- /dev/null
+++ b/regress/misc/utf8/t2.exp
@@ -0,0 +1,3 @@
+öü
+öü
diff --git a/regress/misc/utf8/t2.sh b/regress/misc/utf8/t2.sh
new file mode 100644
index 00000000000..2369c35c756
--- /dev/null
+++ b/regress/misc/utf8/t2.sh
@@ -0,0 +1,4 @@
+echo pöüp | cut -b 2-5 > t2.out
+echo pöüp | cut -c 2-3 >> t2.out
+echo pöüp | cut -b 3-4 -n >> t2.out
+diff t2.exp t2.out