[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell-command parameters
From: |
Eli Zaretskii |
Subject: |
Re: shell-command parameters |
Date: |
Mon, 05 Jan 2009 22:15:56 +0200 |
> From: Chetan <Chetan.xspam@xspam.sbcglobal.net>
> Date: Mon, 05 Jan 2009 05:35:45 -0800
>
> rustom <rustompmody@gmail.com> writes:
>
> > When I issue a shell command which is a pipeline such as say
> >
> > echo 1 2 3; echo 4 5
> >
> > in a normal shell I should get
> > 1 2 3
> > 4 5
> >
> > However in windows for emacs shell-command (M-!) I get
> > 1 2 3;echo 4 5
> >
> > Any clues??
> >
> > The worst part is it sometimes works and sometimes not!
>
> Do you mean you get different results on Windows or between Windows
> and other systems?
>
> If it is the latter, isn't that the expected behaviour?
Yes, it certainly is.
On Windows, if you want 2 commands on a single line, use `&' instead
of `;', as in
echo 1 2 3 & echo 4 5
- shell-command parameters, rustom, 2009/01/05
- Re: shell-command parameters, Chetan, 2009/01/05
- Re: shell-command parameters, Peter Dyballa, 2009/01/05
- Re: shell-command parameters,
Eli Zaretskii <=
- Message not available
- Re: shell-command parameters, Chetan, 2009/01/05
- Re: shell-command parameters, Eli Zaretskii, 2009/01/05
- Message not available
- Re: shell-command parameters, rustom, 2009/01/06
- Re: shell-command parameters, Kevin Rodgers, 2009/01/06
- Message not available
- Re: shell-command parameters, rustom, 2009/01/06
- Re: shell-command parameters, Andreas Politz, 2009/01/06
- Re: shell-command parameters, Eli Zaretskii, 2009/01/06
- Re: shell-command parameters, Barry Margolin, 2009/01/08