bug-bash
[Top][All Lists]
Advanced

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

Re: use of ampersand for backgrounding foils termination parsing?


From: Paul Jarc
Subject: Re: use of ampersand for backgrounding foils termination parsing?
Date: Mon, 03 Feb 2003 13:22:40 -0500
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 (i686-pc-linux-gnu)

address@hidden wrote:
> Description:
>
>       semicolons to delimit commands usually work identically to newlines,
>       but in the case where they follow an ampersand, there appears to be a
>       syntax error generated.
>
> Repeat-By:
>
>       the command
>
>               for N in `seq 1 5`; do somecommand &; done

Ampersand also terminates a command, just like semicolon does.  If you
use an ampersand, there's no need for a semicolon.


paul




reply via email to

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