On 09.07.11,07:59, Marcelo Luiz de Laia wrote:
> Hi,
> 
> I try to use extract_url.pl, but get an error on mutt.
> 
> :~$ echo $PATH
> /usr/local/bin:/usr/bin:/bin:/usr/games:/home/user/bin
> :~$ 
> 
> :~$ locate extract_url.pl
> /home/user/bin/extract_url.pl
> :~$ 
> 
> /home/user/.mutt/muttrc
> macro index,pager \cb "<enter-command> set my_pdsave=\$pipe_decode<enter>\
> <enter-command> unset pipe_decode<enter>\
> <pipe-message>extract_url.pl<enter>\
> <enter-command> set pipe_decode=\$my_pdsave<enter>" "get URLs"
> 
> When I choose ctrl+b, an error apear:
> 
> extract_url.pl is not found
> press any key to continue
> 
> 

Try adding "/home/user/bin/extract_url.pl" in the macro instead of just 
the script name.

Also double-check that the script is in the local bin folder with:

"ls ~/bin | grep ^extr"


Jostein$

Reply via email to