From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Vorel Date: Thu, 4 Apr 2019 16:30:47 +0200 Subject: [LTP] [PATCH 1/1] shell: Fix handling default parameters in tst_mkfs() In-Reply-To: <20190327160316.GA9691@rei.lan> References: <20190327155252.761-1-pvorel@suse.cz> <20190327160316.GA9691@rei.lan> Message-ID: <20190404143047.GA538@dell5510> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi Cyril, > We can do the same thing twice as well, which may be a bit more > readable: > [ $# -ge 1 ] && shift > [ $# -ge 1 ] && shift Merged your variant. It's really more readable. Thanks! Kind regards, Petr