List:General Discussion« Previous MessageNext Message »
From:Christian Mack Date:May 5 1999 11:19am
Subject:Re: [MySQL]$editor : not found, YET! :)
View as plain text  
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
> me???
> 
> % sh
> $ which vi
> /usr/bin/vi
> $ $EDITOR='which vi' mysql -e 'select 1 ass foo\e'
> /usr/bin/vi=which vi: not found
> $ exit
> 
> TIA
> 
< cut >

Hi Marco

You used the wrong quotes around <which vi>!
There are three different types: 
1) the "straight" ones <'> : these you used.
2) the "raising" ones <´>
3) the "falling" ones <`> : these you should have used.
  The difference is, that shell commands enclosed by them are executed.

Hope that made it clearer.
Christian

Thread
Re: [MySQL]$editor : not found, YET! :)Marco Lopez4 May
  • Re: [MySQL]$editor : not found, YET! :)Thimble Smith5 May
    • Re: [MySQL]$editor : not found, YET! :)Marco Lopez5 May
    • Re: [MySQL]$editor : not found, YET! :)Marco Lopez6 May
      • Re: [MySQL]$editor : not found, YET! :)Thimble Smith6 May
  • Re: [MySQL]$editor : not found, YET! :)Jens Ellegiers5 May
    • Re: [MySQL]$editor : not found, YET! :)Paul DuBois5 May
  • Re: [MySQL]$editor : not found, YET! :)Christian Mack5 May
  • Re: [MySQL]$editor : not found, YET! :)Fred Read6 May