hello,
I installed keepass-mode on windows 10 (native emacs 28.0.50 through mingw64) along keepassxc 2.6.4
When I open a keepass file I get the message :
'egrep' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
It is in french, it says that the egrep command is not recognized as a internal or external command.
This is strange because I do have egrep installed with mingw64.
I suspect the trouble is here in the code :
(defun keepass-mode-command (group command)
"Generate KeePass COMMAND to run, on GROUP."
(format "echo %s | \
keepassxc-cli %s %s %s 2>&1 | \
egrep -v '[Insert|Enter] password to unlock %s'"
(shell-quote-argument keepass-mode-password)
command
keepass-mode-db
group
keepass-mode-db))
It seems that a pipe is used between keepass-cli and egrep command.
I may be wrong but this relies on a linux shell which is not available when using native emacs on windows 10.
Would it be possible to make keepass-mode more portable towards windows 10 ? I am ready to test any commits if helpful to you
Regards
hello,
I installed
keepass-modeon windows 10 (native emacs 28.0.50 through mingw64) alongkeepassxc2.6.4When I open a keepass file I get the message :
It is in french, it says that the
egrepcommand is not recognized as a internal or external command.This is strange because I do have
egrepinstalled with mingw64.I suspect the trouble is here in the code :
It seems that a pipe is used between
keepass-cliandegrepcommand.I may be wrong but this relies on a linux shell which is not available when using native emacs on windows 10.
Would it be possible to make
keepass-modemore portable towards windows 10 ? I am ready to test any commits if helpful to youRegards