Aquesta és una versió anterior. La versió actual és la 1.0.8.4. C Shell for Windows 1.0.8.4 · Data de publicació:
Fitxers d’instal·lació 1.0.8.3
| Arquitectura | Tipus | Àmbit | Mida del fitxer | Baixa | SHA256 |
|---|---|---|---|---|---|
| 64 bits | EXE (Inno Setup) | Tots els usuaris | — | github.com | VirusTotal |
L’enllaç i l’SHA256 provenen del manifest comunitari del Gestor de paquets del Windows. Convé comparar el hash del fitxer baixat abans d’executar-lo.
Notes de la versió
**Fixed: a quoted argument starting with `<` or `>` was treated as a redirect.**
Upgrade for this one. The redirect parser looked only at the first character of
each token and never at the token's type, so a quoted string beginning with an
angle bracket was parsed as a redirect operator rather than as data. The lexer
had always distinguished the two; the parser simply never asked.
It failed in two ways, and the quiet one is the reason this is a same-day
release.
When the text after `>` was not a legal Windows filename, the open failed and
you saw `'echo' failed (errno 22)` with the command's output silently dropped.
That is how it was found: `tests/run_all_tests.cshw` prints
`echo ">>> Running: $1"` before each suite, and all 81 of those lines were being
destroyed, along with the matching `<<< PASSED` / `<<< FAILED` lines.
When the text *was* a legal filename there was no error at all. `echo
">notes.txt"` truncated `notes.txt`, consumed the token as a redirect, and left
`echo` with no arguments -- so `echo` wrote its own `Echo is ON` status into the
file it had just destroyed. A line written to print a string destroyed a file
instead, silently. Anything quoting an angle bracket was exposed: markdown
blockquotes, `grep "<div>" page.html`, generated HTML or XML.
Quoted tokens are now skipped when scanning for redirects. Real redirects are
unaffected.https://github.com/tropibyte/cshw-releases/releases/tag/v1.0.8.3