Sujet : Re: Another 'What's the diff Q" (LDo will like this)
De : gazelle (at) *nospam* shell.xmission.com (Kenny McCormack)
Groupes : comp.unix.shellDate : 17. Sep 2024, 16:49:23
Autres entêtes
Organisation : The official candy of the new Millennium
Message-ID : <vcc8e3$23kk6$1@news.xmission.com>
References : 1 2 3 4
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <
vcc7qk$3j1r6$1@dont-email.me>,
Janis Papanagnou <janis_papanagnou+
ng@hotmail.com> wrote:
...
So what remains then is only '<<<' being a one-liner shortcut and
the '<<-' (plus the '<<#' in ksh) features to control indentation,
I suppose.
Now, I wonder about the actual implementation. In early versions of the
Bourne shell, using << actually created a temp file somewhere (perhaps in /tmp),
which raises the specter of that file not getting removed in crash scenarios.
I don't suppose that is still a cause for concern. What about <<<? How is
that implemented?
-- "Unattended children will be given an espresso and a free kitten."