It's impossible to enter a literal tab (\t) in the shell
Offen
- Vorherrschende Sprache
- Go
- Sterne
- 1.8k
- Forks
- 213
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
It seems `shlex` has quite weird behaviour for escaped characters.
If you enter:
```
>>> command "a\tb"
```
The argument you get will be `atb`. Typing an actual literal tab character is ignored by the shell, so it's also not possible to enter a tab that way.
I don't see a very easy way to fix this, especially since `shlex` is not maintained anymore. Would you be okay with a PR that removes the dependency on `shlex` and uses `strconv.Unquote()` to handle escaping and quoting?
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.