At 1:14 PM +0200 5/5/1999, Jens Ellegiers wrote:
>did you really use backticks around the second which vi?
>Try to copy/paste the string of what Tim wrote. You are using single
>quotes instead of backticks.
>Marco Lopez wrote:
>> This is the exact output I got. The only difference with what mysql
>> gives me is the word 'which'. Does it say something too obvious for
>> % sh
>> $ which vi
>> $ $EDITOR='which vi' mysql -e 'select 1 ass foo\e'
>> /usr/bin/vi=which vi: not found
>> $ exit
1) Use `which vi` rather than 'which vi' (the type of quote is
2) Don't put a $ in from of EDITOR (use EDITOR, not $EDITOR).
The $ in the example that was suggested for you to try is sh's
prompt, not a $ that you type.
Paul DuBois, paul@stripped
Northern League Chronicles: http://www.snake.net/nl/