Follow-up Comment #5, bug #20310 (project findutils):
Thank you, jay:
most coreutils (including sort) are provided through busybox-1.5.1
1. from /usr/bin/sort I have the following code snippet:
...
if true
then
sort="/usr/bin/sort -z"
print_option="-print0"
frcode_options="$frcode_options -0"
else
sort="/usr/bin/sort"
print_option="-print"
fi
...
2. As for sort, the -d and -r options work, but the -z seems not to (if I
have interpreted you the command correctly).
"testfile" contains the following text:
box
124
zebra
candy
84lumber
lumberjack
results of sort commands:
-----------------------------
$ sort -d testfile
124
84lumber
box
candy
lumberjack
zebra
-----------------------------
$ sort -d -r testfile
zebra
lumberjack
candy
box
84lumber
124
-----------------------------
$ sort -d -r -z testfile
box
124
zebra
candy
84lumber
lumberjack
=============
I am in the midst of a bootstrap-image build right now, but when done I will
try the patch. I do have m4 and autoconf installed.
thanks again
Dave
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?20310>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-findutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils