List:General Discussion« Previous MessageNext Message »
From:Philippe Poelvoorde Date:October 19 2004 8:44am
Subject:Re: Script question
View as plain text  
> mysql> system echo hi there;
> mysql> system ls -ls;
> mysql> system uname-a;
> 
> all work on the 2.4.22-10mdk kernel and
> the semi-colon is optional.
> 

mysql> system echo "hi there"
should be also working, the first parameters 'echo' is recognized as the 
   command to execute, and the folowings strings the parameters of this 
command. so since 'echo hi there' is not a command it wasn't working 
(try, doing `$echo\ hi\ there` at your prompt :)
Since some commands require quotes, it could be useful.
(system doesn't work with MySQL 3.23, does it ?)

-- 
Philippe Poelvoorde
COS Trading Ltd.
Thread
Script questionRhino19 Oct
RE: Script questionSST - Adelaide)19 Oct
RE: Script questionSST - Adelaide)19 Oct
  • Re: Script questionRhino19 Oct
    • Re: Script questionVictor Pendleton19 Oct
RE: Script questionSST - Adelaide)19 Oct
  • Re: Script questionRhino19 Oct
    • Re: Script questionBrian19 Oct
  • Re: Script questionRhino19 Oct
    • Re: Script questionBrian19 Oct
      • How to remove an indexleegold19 Oct
        • Re: How to remove an indexAman Raheja19 Oct
RE: Script questionCharles E Sweet19 Oct
  • Re: Script questionRhino19 Oct
  • Re: Script questionPhilippe Poelvoorde19 Oct
    • Re: Script questionGerald Taylor20 Oct
      • Re: Script questionSGreen20 Oct