Richard PALO <[email protected]> wrote:

> Le 22/03/16 17:49, Richard PALO a écrit :
> > Can anybody do anything correctly with /dev/zero?
> > 
> > I noticed the ksh93 testsuite having "issues" in 
> > src/cmd/ksh93/tests/subshell.sh
> > 
> > I tried on recent omnios and even old oi_151a9 - both do indeed seem
> > broke with the same, that is 'head -c 1 /dev/zero |wc -c' just hangs..
> > 
>
> Perhaps it is /bin/head because if I run the builtin via
> > $ sh -c 'head -c 1 /dev/zero |wc -c'
> >        1

Well, /bin/head does not implement the enhancements that seem to be from GNU 
head.

 bosh -c 'head -c 1 /dev/zero |wc -c' 
 head: illegal option -- c
       38

Jörg

-- 
 EMail:[email protected]                    (home) Jörg Schilling D-13353 Berlin
       [email protected] (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.org/private/ 
http://sourceforge.net/projects/schilytools/files/'


-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to