[TUHS] redirection wildness in v7
Chet Ramey
chet.ramey at case.edu
Fri Nov 10 07:39:25 AEST 2017
On 11/9/17 4:36 PM, Dave Horsfall wrote:
> On Thu, 9 Nov 2017, Chet Ramey wrote:
>
>>> $ <word | sed 20q
>>
>> A null command consisting of only a redirection (effectively a no-op).
>
> With the side-effect of opening "word" (which could be a device).
Quite true. The redirection is the only thing that happens.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet at case.edu http://cnswww.cns.cwru.edu/~chet/
More information about the TUHS
mailing list