On 4/5/2021 6:27, Chet Ramey wrote:
On 4/5/21 5:06 AM, Greywolf wrote:but if you want to go down that track, it's kind of interesting to note that {} on a single line demands a ; before the }, while () prohibitsit.This isn't true: $ ./bash -c '(echo a b c;)' a b c but it is the case that } is a reserved word, while ) is an operator.
D'OH! You're right! I was thinking $ foo &; Can't put a semicolon after a null statement. My mistake. Carry on... --*greywolf;