projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bff6b18
)
Some more tests for cut. Craig Matsuura said he saw some problems along these
author
Mark Whitley
<markw@lineo.com>
Tue, 27 Mar 2001 20:48:01 +0000
(20:48 -0000)
committer
Mark Whitley
<markw@lineo.com>
Tue, 27 Mar 2001 20:48:01 +0000
(20:48 -0000)
lines. "Works for me", but we'll keep these tests around for regression.
tests/testcases
patch
|
blob
|
history
diff --git
a/tests/testcases
b/tests/testcases
index
92f4ed3
..
5933c3b
100644
(file)
--- 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