[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: commit: ldap/servers/slapd slappasswd.c

> > Omit trailing newline from generated password, so it may be directed
> > to a file and used by commandline tools
> What about a "-n" (much like "sophisticated" echo implementations) to
> avoid breaking existing usage?

One could also consider the GNU ls dircolor model (--color=tty, the
default): prettyprint to tty, straightforward output if redirected.

I might be biased by my extremely infrequent use of slappasswd, but I
could also see an argument towards holding this to RE24 if it's not "-n"
entirely optional style. I'm sure somebody out there is going to
need to change a script that already chomps the newline, it'd be nice to
not stick them with that on a bugfix release.