help-gnu-emacs
[Top][All Lists]
Advanced

[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: Tue, 06 Jan 2009 06:05:17 +0200

> From: Chetan <Chetan.xspam@xspam.sbcglobal.net>
> Date: Mon, 05 Jan 2009 13:40:27 -0800
> 
> > On Windows, if you want 2 commands on a single line, use `&' instead
> > of `;', as in
> >
> >    echo 1 2 3 & echo 4 5
> Or
> echo 1 2 3 && echo 4 5 and get the same result everywhere

The semantics of ;/& and && is not the same.  With `echo', the
difference hardly matters, but in general, the former will always run
both commands, while the latter will sometimes only run the first one.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]