Gentoo Archives: gentoo-dev

From: Peter Stuge <peter@×××××.se>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: esethome
Date: Fri, 15 Jun 2012 13:29:14
Message-Id: 20120615132759.9714.qmail@stuge.se
In Reply to: Re: [gentoo-dev] RFC: esethome by Mike Frysinger
1 Mike Frysinger wrote:
2 > > + # lets see if the username already exists
3 > > + if [[ ! -n $(egetent passwd "${euser}") ]] ; then
4 >
5 > "! -n" -> "-z"
6
7 Does the $() argument ever need to be double quoted, or do all
8 versions of bash actually have the string argument optional even
9 though that's not what the man page reads?
10
11
12 //Peter

Replies

Subject Author
Re: [gentoo-dev] RFC: esethome Ian Stakenvicius <axs@g.o>