[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: cut numbering inconsistency
From: Robert Schumann <betulichergutmensch () googlemail ! com>
Date: 2012-03-15 16:33:44
Message-ID: 4F6219E8.8030806 () googlemail ! com
[Download RAW message or body]
Heyho guys,
tested with 1.18.2 and with 1.19.3:
*GNU cut*:
% echo "foo:bar" | cut -d':' -f0
cut: fields and positions are numbered from 1
Try `cut --help' for more information.
% echo "foo:bar" | cut -d':' -f1
foo
*busybox cut*:
% echo "foo:bar" | busybox cut -d':' -f0
foo
% echo "foo:bar" | busybox cut -d':' -f1
foo
Cheers
Robert
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic