Possible solution for name conflicts
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Tranquilla
- Stack tecnologico
- bash, rust
- Ambito
- cli, operating-systems
Direzione di ricerca
Inizia con l’esempio di conflitto in README.md nella sezione collegata e confrontalo con la gestione proposta da cmd/conhost di C:\Windows\System32\expand.exe. Chiarisci come dovrebbero funzionare insieme i percorsi codificati, i comandi POSIX basati su PATH e un punto di ingresso bash.exe, quindi definisci test o un comportamento osservabile dei comandi che dimostrino che i file .bat/.cmd legacy rimangono inalterati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
As an example, the readme mentions conflicts:
https://github.com/microsoft/coreutils/blob/bc282d5c349fab94bb769da75a6e91bd9032f784/README.md?plain=1#L61
The expand command appears to be a utility located in:
C:\Windows\System32\expand.exe
Solution: Ignore variables and encode the file address inside the source code of cmd/conhost.
Example: %SystemRoot%\System32\expand.exe
Any legacy *.bat or *.cmd file is executed by cmd/conhost, without breaking anything.
Newer shells can use posix expand by calling it through the PATH variable set to a different directory.
In this case, it would also be useful to create a bash.exe file that executes sh scripts, uses bash syntax, and only calls these coreutils.
- Lingua principale
- Rust
- Stelle
- 5.2k
- Fork
- 107
- Merge medio
- 2g 19h
- PR unite (30g)
- 4
Guida per i contributori
Apri 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 microsoft/coreutils
-
Add support for /dev/null Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
sleep has 9MB Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
grep not work Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
-
xargs: Error: Command could not be run: The filename or extension is too long. (os error 206) Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
Tutte le issue di microsoft/coreutils
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
Axis areas are always keyboard-focusable (Sense::drag), even with allow_axis_zoom_drag(false) Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
bug team:backend track:services-maintenance
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
cowprotocol/services#4950 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
gitbutlerapp/gitbutler#15998 · 1 commento ·