Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2001-03-28 00:48:01 +0400
committerMark Whitley <markw@lineo.com>2001-03-28 00:48:01 +0400
commitcc7b4f39fca193ba6b2fa60be4a4b6fd05238d08 (patch)
treed43b73e7f0191d930f961c7d615575dda64a8ca1
parentbff6b18bf9056793caa80db7cd664b514068f7ee (diff)
Some more tests for cut. Craig Matsuura said he saw some problems along these
lines. "Works for me", but we'll keep these tests around for regression.
-rw-r--r--tests/testcases6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testcases b/tests/testcases
index 92f4ed3ec..5933c3b10 100644
--- a/tests/testcases
+++ b/tests/testcases
@@ -43,7 +43,13 @@ cat tester.sh
# cut
echo "1234" | cut -c1
+echo "1234" | cut -c 1
+echo "1234567890" | cut -c2-7
+echo "1234567890" | cut -c 2-7
echo "f1 f2" | cut -f2
+echo "f1 f2" | cut -f 2
+echo "f1 f2 f3 f4 f5" | cut -f2-4
+echo "f1 f2 f3 f4 f5" | cut -f 2-4
# date
date