mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
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.
This commit is contained in:
parent
bff6b18bf9
commit
cc7b4f39fc
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue