On Wed, May 6, 2020 at 9:35 AM Paul Gilmartin < 0000000433f07816-dmarc-requ...@listserv.ua.edu> wrote:
> > >On 2020-05-06 8:31 PM, Kirk Wolf wrote: > >> cat DD: isn't documented as supported? :-) > >> > >> what about "cp //DD:xxx /dev/fd1" - is that the shell? > >> > I don't believe shell is closely involved. I'd expect similar > behavior if it were invoked from a program by exec(). > "DD:xxx" would be elaborated by the C RTL provided that > cp invokes fopen(), which is not guaranteed, and > /dev/fd/1 is a kernel facility. > > -- gil > Not so fast: cp and cat are both /bin/sh built-in commands ( documented under "Built-in commands" in the command reference for sh). So the shell does employ DDs ;-) ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN