Bug 4393 - xargs + bzcat does not work
Summary: xargs + bzcat does not work
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-28 21:44 UTC by colchaodemola
Modified: 2011-10-31 00:11 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description colchaodemola 2011-10-28 21:44:07 UTC
# ls -la /tmp/*.bz2
-rw-r--r--    1 root     root            39 Oct 28 18:30 /tmp/a.bz2
-rw-r--r--    1 root     root            39 Oct 28 18:30 /tmp/b.bz2
# 
# 
# bzcat  /tmp/*.bz2
b
a
# 
# ls -rt /tmp/*.bz2 | xargs bzcat    ********************
a
bzcat: short write
bzcat: close failed: Bad file descriptor
# 
# ls -rt /tmp/*.bz2 | xargs echo bzcat
#
bzcat /tmp/b.bz2 /tmp/a.bz2
# ls -rt /tmp/*.bz2 | xargs echo bzcat | sh
a
b
# 


why the marked (***)command does not work ? in gnu equivalents it works just fine.