Shell constructs that still do not parse after beta.17 (48 recorded Netclaw commands)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 38/100
Direzione di ricerca
Start by locating the parser entry point and reproducing the relevant rows from the Netclaw corpus. The issue identifies a redirect after done and ${x:-literal} / ${x%/} as the cheapest candidates, while warning that the redirect needs a planned public API. Done means the selected constructs parse correctly without changing the intentional fail-closed behavior for assignments or exports of PATH, TMPDIR, HOME, or LC_ALL.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
Netclaw keeps a corpus of real shell commands that it recorded from live sessions. Netclaw uses the corpus to test shell approval. A row is one entry in the corpus.
After ShellSyntaxTree 0.4.0-beta.17, 48 corpus rows (6,912 calls) still do not parse. These rows are candidates for a later release.
Rows by cause
- 9 rows: a redirect after a compound command (
done 2>/dev/null | head). This needs a planned public API. Otherwise a new property could hide write targets from consumers that do not know it. - 9 rows: arithmetic
$((…)). Bash can run code through an array subscript, so this needs its own bounded grammar. - 8 rows: complex parameter expansion (
${d%/},${x:-y}).${x:-literal}and${x%/}are the likely first candidates. - 3 rows: process substitution
<(…). This needs a new occurrence role or region. - 4 rows, one cause each: a function definition, reserved execution syntax,
bash -c 'set -e …', and an unbalanced quote. - 15 rows: assignment or export of
PATH,TMPDIR,HOME, orLC_ALL. These fail closed on purpose. Keep them that way.
Status
Backlog. The cheapest wins are the redirect after done and the two common expansions.
- Lingua principale
- C#
- Stelle
- 15
- Fork
- 0
- Merge medio
- 9h 8m
- PR unite (30g)
- 46
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Aaronontheweb/ShellSyntaxTree
-
Bash: an assignment in a loop body that reads the loop variable is not listed on later commandsApertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
Aaronontheweb/ShellSyntaxTree#249 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 57/100
Aaronontheweb/ShellSyntaxTree#244 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
Aaronontheweb/ShellSyntaxTree#236 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
Aaronontheweb/ShellSyntaxTree#235 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
Aaronontheweb/ShellSyntaxTree#190 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Aaronontheweb/ShellSyntaxTree
Issue simili
-
[i18n] 安装实例完成后的成功提示未正确本地化Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
PCL-Community/PCL-CE#3658 ·
I maintainer di solito rispondono entro 1 giorno
-
Deploy & Patch-issues opprettes ikke: create-pnd-issues.yml har feilet hver uke siden 2025-09-08Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Altinn/altinn-auth#4359 ·
I maintainer di solito rispondono entro 1 giorno
-
アプリ: チャット 優先: 中 提案
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
yksr-melt/Meltype#243 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Workflows: a workflow stored with null conditions is skipped with an exception instead of runApertabug core
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
type/automation type/tech-debt
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno