nvbn/thefuck

Doesn't handle quotes and arguments with spaces well

Open

#720 ouverte le 27 oct. 2017

Voir sur GitHub
 (3 commentaires) (1 réaction) (0 assignés)Python (3 949 forks)batch import
HackIllinoishacktoberfesthelp wanted

Métriques du dépôt

Stars
 (96 953 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

v3.24 using Python 3.5.3, on Ubuntu 17.04, GNU bash 4.4.7(1)-release.

Using an alias, but with no alias is indifferent:

$ theheck "catt 'My File'"
cat My File [enter/↑/↓/ctrl+c]

$ theheck "catt My\ File"
cat My File [enter/↑/↓/ctrl+c]

$ theheck "ehco -e '\n'"
echo -e \n [enter/↑/↓/ctrl+c]

$ theheck "ehco -n $'\n'"
echo -n $\n [enter/↑/↓/ctrl+c]

The debug output is here: https://pastebin.com/GjXPpQbs

Guide contributeur