[TUHS] etymology of read -u

Joerg Schilling schily at schily.net
Wed Jun 1 00:35:57 AEST 2016

Doug McIlroy <doug at cs.dartmouth.edu> wrote:

> What's the mnmonic significance, if any, of the u in
> the bash builtin read -u for reading from a specified
> file descriptor? Evidently both f and d had already been
> taken in analogy to usage in some other commands.

It seems to be a copy from ksh.

Ksh implements a private "print" builtin that also uses -u fd.


 EMail:joerg at schily.net                  (home) Jörg Schilling D-13353 Berlin
       joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.org/private/ http://sourceforge.net/projects/schilytools/files/'

More information about the TUHS mailing list