NetBSD-Bugs archive

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

Re: bin/50827: sh -c ': "${x=$((1))}"' gives bogus syntax error



The following reply was made to PR bin/50827; it has been noted by GNATS.

From: Richard Hansen <rhansen%rhansen.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/50827: sh -c ': "${x=$((1))}"' gives bogus syntax error
Date: Thu, 18 Feb 2016 02:59:08 -0500

 Apologies -- the last example:
 
 >     : "${x="$((1))"}
 
 should have been:
 
     : "${x="$((1))"}"
 
 (I forgot the second close double quote)
 



Home | Main Index | Thread Index | Old Index