Re: Another 'What's the diff Q" (LDo will like this)

Liste des GroupesRevenir à cu shell 
Sujet : Re: Another 'What's the diff Q" (LDo will like this)
De : gazelle (at) *nospam* shell.xmission.com (Kenny McCormack)
Groupes : comp.unix.shell
Date : 17. Sep 2024, 19:57:41
Autres entêtes
Organisation : The official candy of the new Millennium
Message-ID : <vccjf5$23rk4$1@news.xmission.com>
References : 1 2 3 4
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <vccesq$3kjv7$1@dont-email.me>,
Janis Papanagnou  <janis_papanagnou+ng@hotmail.com> wrote:
...
I just thought of something.  Suppose your included text contains both
single and double quotes.  This will not be an issue with <<, but will
require extra effort (more than I care to expend!) with <<<.
>
That's actually the property I like with here-docs; that you can
write your template-like text inside the shell-program text as it
shall (and will) be seen at the target side, both forms of quotes
inclusive.

Right.  The point I was making is that this rates as a superiority of <<
over <<< - and answers the question posted in the OP: Is there anything one
can do that the other cannot?

As might have already got obvious, though, I use the '<<<' syntax
for other purposes than for such template files; for one-liners. In
that context mixed quote forms are not typical (IME) so that this
property of '<<' is not that important for me to have in '<<<'.[*]

Right.  Got it.

--
Politics is show business for ugly people.

Sports is politics for stupid people.

Date Sujet#  Auteur
17 Sep 24 * Another 'What's the diff Q" (LDo will like this)15Kenny McCormack
17 Sep 24 +* Re: Another 'What's the diff Q" (LDo will like this)13Janis Papanagnou
17 Sep 24 i`* Re: Another 'What's the diff Q" (LDo will like this)12Kenny McCormack
17 Sep 24 i `* Re: Another 'What's the diff Q" (LDo will like this)11Janis Papanagnou
17 Sep 24 i  +- Re: Another 'What's the diff Q" (LDo will like this)1Kenny McCormack
17 Sep 24 i  `* Re: Another 'What's the diff Q" (LDo will like this)9Kenny McCormack
17 Sep 24 i   `* Re: Another 'What's the diff Q" (LDo will like this)8Janis Papanagnou
17 Sep 24 i    `* Re: Another 'What's the diff Q" (LDo will like this)7Kenny McCormack
17 Sep 24 i     `* Re: Another 'What's the diff Q" (LDo will like this)6Kaz Kylheku
17 Sep 24 i      `* Re: Another 'What's the diff Q" (LDo will like this)5Kenny McCormack
17 Sep 24 i       +* Re: Another 'What's the diff Q" (LDo will like this)3Kaz Kylheku
18 Sep 24 i       i`* Re: Another 'What's the diff Q" (LDo will like this)2Kenny McCormack
18 Sep 24 i       i `- Re: Another 'What's the diff Q" (LDo will like this)1Kaz Kylheku
18 Sep 24 i       `- Re: Another 'What's the diff Q" (LDo will like this)1Kaz Kylheku
17 Sep 24 `- Re: Another 'What's the diff Q" (LDo will like this)1Kaz Kylheku

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal