From: Junio C Hamano Date: Wed, 17 Jun 2020 20:35:17 GMT Subject: Re: [GSoC] Shourya's Blog Message-ID: In-Reply-To: <20200616072108.GA10273@konoha> Shourya Shukla writes: > Hello all! > > This is the sixth installation of my weekly blog covering what I have > learned in GSoC and other like stuff. > https://shouryashukla.blogspot.com/2020/06/gsoc-week-55.html > > Feel free to comment! This like looked unusual: var1=${var1:=$var2} What's inside ${...} is sufficient to assing to var1 when it is not uset or set to an empty string. It is far more common to say : ${var1:=$var2} with or without the colon in front of the equal sign (which tells the construct to treat "set to empty" the same way as "unset").