Ian Stakenvicius wrote: > > Mike Frysinger wrote: > >>> + # lets see if the username already exists + if [[ > >>> ! -n $(egetent passwd "${euser}") ]] ; then > >> > >> "! -n" -> "-z" > > > > Does the $() argument ever need to be double quoted, or do all > > versions of bash actually have the string argument optional even > > though that's not what the man page reads? > > Ever? Yes, but only if what is being returned can contain spaces
Sorry, I should have mentioned that I had the case of the empty string in mind. //Peter