Menu

#256 Hunspell fails if user has shell aliases

v1.0 (example)
open
nobody
None
5
2014-11-19
2014-11-19
No

In bash, I set the following alias:

alias ls='ls -bCFv'

The -F part appends "*" to the end of executable files.

This causes hunspell to fail with a message such as

ls: cannot access /home/mernst/bin/Linux-x86_64/../install/hunspell-cvs/src/tools/hunspell*: No such file or directory

Note the trailing * in the filename; the file does exist without the trailing *.

Hunspell should work properly regardless of shell aliases that a user may have set.

The attached patch corrects the problem for an alias of the ls command, by using "\ls" instead of "ls" as the command.

1 Attachments

Discussion