help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] Why "; ;" is a syntax error?


From: Chris F.A. Johnson
Subject: Re: [Help-bash] Why "; ;" is a syntax error?
Date: Wed, 24 Jun 2015 00:32:07 -0400 (EDT)
User-agent: Alpine 2.10 (DEB 1266 2009-07-14)

On Tue, 23 Jun 2015, Dennis Williamson wrote:

On Tue, Jun 23, 2015 at 10:25 PM, Peng Yu <address@hidden> wrote:

Hi, "; ;" is a syntax error. Could anybody help me understand why bash
is defined in this way?

$ ; ;
-bash: syntax error near unexpected token `;'

; is also a syntax error

As is &

--
Chris F.A. Johnson, <http://cfajohnson.com>



reply via email to

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