Using the 2014-06-06 ksh beta on OS X 10.7.5, the following use of the
builtin join command results in an illegal seek error when both of the
operands are process substitutions, whereas the OS X /usr/bin/join
produces the expected output:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ type join
join is a shell builtin version of /usr/bin/join
$ join <(printf '%d\n' 1 2) <(printf '%d\n' 1 2)
1
join: /dev/fd/4: seek error [Illegal seek]
join: write error [Illegal seek]
$ /usr/bin/join <(printf '%d\n' 1 2) <(printf '%d\n' 1 2)
1
2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
Nathan Weeks
IT Specialist
USDA-ARS Corn Insects and Crop Genetics Research Unit
Crop Genome Informatics Laboratory
Iowa State University
http://weeks.public.iastate.edu/
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to