Re: The lost key

Liste des GroupesRevenir à s crypt 
Sujet : Re: The lost key
De : rich (at) *nospam* example.invalid (Rich)
Groupes : sci.crypt
Date : 30. Mar 2025, 20:32:59
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vsc69b$27l0j$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9
User-Agent : tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Marcel Logen <333200007110-0201@ybtra.de> wrote:
Rich in sci.crypt:
 
Marcel Logen <333200007110-0201@ybtra.de> wrote:
Rich in sci.crypt:
Chris M. Thomasson <chris.m.thomasson.1@gmail.com> wrote:
 
[...]
 
No, you have now /discovered/ that "the command shell" interprets some
characters itself, and not passing them through to the command.
 
Perhaps he uses the "here documents" feature of the shell.
>
That is possible, but even so, there's two versions of here docs, one
that interpretes shell metacharacters and one that does not.  Using the
'interpreting' variant would produce the same results.
                             ^ not (?)

The word 'same' there was referring to the output Chris received,
although looking it over now, that was also an ambigious back
reference.

| user15@o15:/tmp$ ./scos2-ok e 55 77 <<"EOF"
| > Hello World, this is a test. And I will see what happens.
| > EOF
| !(8sf <|#5h[ R@&9 jd > \86r( 7@4 T rNA[ *mW Y?"^ mPO\$5u+
|
 
| user15@o15:/tmp$ ./scos2-ok d 55 77 <<qqqq
| > !(8sf <|#5h[ R@&9 jd > \86r( 7@4 T rNA[ *mW Y?"^ mPO\$5u+
| > qqqq
| Hello World, this is a test. And I will see what hapOXc_
|
 
| user15@o15:/tmp$ ./scos2-ok d 55 77 <<"qqqq"
| > !(8sf <|#5h[ R@&9 jd > \86r( 7@4 T rNA[ *mW Y?"^ mPO\$5u+
| > qqqq
| Hello World, this is a test. And I will see what happens.
 
man bash, chapter "Here Documents":
 
| If any part of word is quoted, the delimiter is the
| result of quote removal on word, and the lines in the
| here-document are not expanded.  If  word  is
| unquoted,  all lines of the here-document are
| subjected to parameter expansion, command substitution,
| and arithmetic expansion, the character sequence
| \<newline> is ignored, and \ must be used to quote
| the characters \, $, and `.
 
"word" is here "EOF" or "qqqq".

We (you and I) do not know:

1) if chris was even using here docs -- he *might* very well be trying to
pass SCOS input via a CLI parameter;

2) in the case he was using here docs, we don't know which one he used
-- if he used the unquoted version, then it is likely at least one meta
character was consumed by the unquoted here doc
espansions/substitutions, and if that happens, all characters after
that point become garbled.

The \ quotes the $ sign before the 5 in the qqqq
version.

Yes, one can escape the metacharacters in the unquoted here doc
version.  But, under the assumption Chris was using here docs, did Chris
perform the escaping, and perform the escaping correctly?


Date Sujet#  Auteur
27 Mar 25 * The lost key131Richard Heathfield
27 Mar 25 +- Re: The lost key1Richard Heathfield
27 Mar 25 +* Re: The lost key4Marcel Logen
28 Mar 25 i`* Re: The lost key3Richard Heathfield
29 Mar 25 i `* Re: The lost key2Richard Heathfield
29 Mar 25 i  `- Re: The lost key1Marcel Logen
28 Mar 25 +* Re: The lost key3Alfred.Peters
28 Mar 25 i`* Re: The lost key2Richard Heathfield
28 Mar 25 i `- Re: The lost key1Alfred.Peters
28 Mar 25 +* Re: The lost key83Chris M. Thomasson
28 Mar 25 i+- Re: The lost key1Chris M. Thomasson
28 Mar 25 i`* Re: The lost key81Chris M. Thomasson
29 Mar 25 i `* Re: The lost key80Marcel Logen
29 Mar 25 i  `* Re: The lost key79Chris M. Thomasson
29 Mar 25 i   `* Re: The lost key78Marcel Logen
29 Mar 25 i    +* Re: The lost key42Richard Heathfield
29 Mar 25 i    i+* Re: The lost key40Rich
29 Mar 25 i    ii`* Re: The lost key39Chris M. Thomasson
29 Mar 25 i    ii `* Re: The lost key38Rich
29 Mar 25 i    ii  `* Re: The lost key37Chris M. Thomasson
29 Mar 25 i    ii   +* Re: The lost key20Mini Mailer
29 Mar 25 i    ii   i`* Re: The lost key19Mini Mailer
30 Mar 25 i    ii   i `* Re: The lost key18Richard Heathfield
30 Mar 25 i    ii   i  `* Re: The lost key17Mini Mailer
30 Mar 25 i    ii   i   +- Re: The lost key1Richard Heathfield
30 Mar 25 i    ii   i   `* Re: The lost key15Mini Mailer
30 Mar 25 i    ii   i    +* Re: The lost key11Chris M. Thomasson
30 Mar 25 i    ii   i    i`* Re: The lost key10Rich
30 Mar 25 i    ii   i    i +* Re: The lost key2Chris M. Thomasson
30 Mar 25 i    ii   i    i i`- Re: The lost key1Rich
30 Mar 25 i    ii   i    i `* Re: The lost key7Chris M. Thomasson
30 Mar 25 i    ii   i    i  `* Re: The lost key6Rich
30 Mar 25 i    ii   i    i   `* Re: The lost key5Rich
30 Mar 25 i    ii   i    i    `* Re: The lost key4Marcel Logen
30 Mar 25 i    ii   i    i     `* Re: The lost key3Rich
30 Mar 25 i    ii   i    i      `* Re: The lost key2Chris M. Thomasson
30 Mar 25 i    ii   i    i       `- Re: The lost key1Rich
30 Mar 25 i    ii   i    +* Re: The lost key2Nomen Nescio
30 Mar 25 i    ii   i    i`- Re: The lost key1Richard Heathfield
30 Mar 25 i    ii   i    `- Re: The lost key1Marcel Logen
30 Mar 25 i    ii   `* Re: The lost key16Rich
30 Mar 25 i    ii    `* Re: The lost key15Chris M. Thomasson
30 Mar 25 i    ii     `* Re: The lost key14Rich
30 Mar 25 i    ii      `* Re: The lost key13Chris M. Thomasson
30 Mar 25 i    ii       +* Re: The lost key11Rich
30 Mar 25 i    ii       i`* Re: The lost key10Chris M. Thomasson
30 Mar 25 i    ii       i +* Re: The lost key5Chris M. Thomasson
30 Mar 25 i    ii       i i`* Re: The lost key4Stefan Claas
30 Mar 25 i    ii       i i `* Re: The lost key3Stefan Claas
30 Mar 25 i    ii       i i  `* Re: The lost key2Rich
31 Mar 25 i    ii       i i   `- Re: The lost key1Stefan Claas
30 Mar 25 i    ii       i `* Re: The lost key4Rich
31 Mar 25 i    ii       i  `* Re: The lost key3Chris M. Thomasson
31 Mar 25 i    ii       i   `* Re: The lost key2Rich
31 Mar 25 i    ii       i    `- Re: The lost key1Richard Heathfield
31 Mar 25 i    ii       `- Re: The lost key1Chris M. Thomasson
29 Mar 25 i    i`- Re: The lost key1Chris M. Thomasson
29 Mar 25 i    `* Re: The lost key35Chris M. Thomasson
31 Mar 25 i     `* Re: The lost key34Marcel Logen
31 Mar 25 i      +* Re: The lost key5Richard Harnden
31 Mar 25 i      i`* Re: The lost key4Richard Heathfield
31 Mar 25 i      i `* Re: The lost key3Chris M. Thomasson
31 Mar 25 i      i  +- Re: The lost key1Marcel Logen
31 Mar 25 i      i  `- Re: The lost key1Richard Heathfield
31 Mar 25 i      +* Re: The lost key27Richard Heathfield
31 Mar 25 i      i`* Re: The lost key26Chris M. Thomasson
31 Mar 25 i      i `* Re: The lost key25Richard Heathfield
1 Apr 25 i      i  +* Re: The lost key2Chris M. Thomasson
1 Apr 25 i      i  i`- Re: The lost key1Richard Heathfield
1 Apr 25 i      i  `* Re: The lost key22Richard Heathfield
1 Apr 25 i      i   `* Re: The lost key21Chris M. Thomasson
1 Apr 25 i      i    `* Re: The lost key20Richard Heathfield
4 Apr 25 i      i     `* Re: The lost key19Chris M. Thomasson
4 Apr 25 i      i      `* Re: The lost key18Richard Heathfield
4 Apr 25 i      i       `* Re: The lost key17Chris M. Thomasson
4 Apr 25 i      i        +* Re: The lost key2Richard Heathfield
4 Apr 25 i      i        i`- Re: The lost key1Chris M. Thomasson
4 Apr 25 i      i        `* Re: The lost key14Chris M. Thomasson
4 Apr 25 i      i         `* Re: The lost key13Richard Heathfield
4 Apr 25 i      i          `* Re: The lost key12Chris M. Thomasson
4 Apr 25 i      i           `* Re: The lost key11Richard Heathfield
4 Apr 25 i      i            +- Re: The lost key1Chris M. Thomasson
6 Apr 25 i      i            `* Re: The lost key9Marcel Logen
6 Apr 25 i      i             `* Re: The lost key8Richard Heathfield
6 Apr 25 i      i              `* Re: The lost key7Marcel Logen
6 Apr 25 i      i               +- Re: The lost key1Richard Heathfield
6 Apr 25 i      i               `* Re: The lost key5Chris M. Thomasson
6 Apr 25 i      i                +- Re: The lost key1Chris M. Thomasson
6 Apr 25 i      i                `* Re: The lost key3Richard Heathfield
7 Apr 25 i      i                 +- Re: The lost key1Chris M. Thomasson
7 Apr 25 i      i                 `- Re: The lost key1Chris M. Thomasson
31 Mar 25 i      `- Re: The lost key1Chris M. Thomasson
4 Apr 25 +* Re: The lost key2Chris M. Thomasson
4 Apr 25 i`- Re: The lost key1Richard Heathfield
7 Apr 25 +* Re: The lost key31Richard Heathfield
7 Apr 25 i+* Re: The lost key3Chris M. Thomasson
7 Apr 25 ii`* Re: The lost key2Richard Heathfield
7 Apr 25 ii `- Re: The lost key1Chris M. Thomasson
7 Apr 25 i`* Re: The lost key27Richard Harnden
7 Apr 25 i +* Re: The lost key25Chris M. Thomasson
7 Apr 25 i i`* Re: The lost key24Chris M. Thomasson
7 Apr 25 i `- Re: The lost key1Richard Heathfield
7 Apr 25 `* Re: The lost key6Chris M. Thomasson

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal