From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653669621742.tru64-unix-managers.marc@archive.invalid> From: Paul Reilly Date: Fri, 03 Aug 2001 16:18:28 +0000 To: tru64-unix-managers Subject: NLS and embedded strings in commands. X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653669621742 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