tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Paul Reilly <pareilly () tcd ! ie>
To: tru64-unix-managers
Subject: NLS and embedded strings in commands.
Date: Fri, 03 Aug 2001 16:18:28 +0000	[thread overview]
Message-ID: <102653669621742.tru64-unix-managers.marc@archive.invalid> (raw)


Hi,

A quick question! I'm looking for all the possible errors that 'passwd'
can produce so that I can write an expect script to handle all of them.
Running 'strings' on passwd itself doesn't give them, but if I find the
NLS directories I can find the passwd strings in passwd.cat....

% strings /usr/lib/nls/msg/en_US.ISO8859-1/passwd.cat
usage: chfn [username]
usage: chsh [username]
usage: passwd [-afqs] [username]
%s: %u: unknown user uid.
...
etc

However the passwd program uses the word "passcode" in places.
("You may not re-use that passcode this soon.") - But if I grep for
"passcode" on the passwd.cat files, there's no match!

% strings en_US.88591/passwd.cat | grep passcode
% strings en_US.ISO8859-1/passwd.cat | grep passcode
%

Am I looking at the wrong files?

Thanks

Paul

                 reply	other threads:[~2001-08-03 16:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox