Bug in 1.11 -- checking against POSIX LANG values falls short
First, the SYNOPSIS in the comments at the start of the script is utterly outdated. Anyhow...
The default setting of LANGUAGE picks up $LANG from the environment, but then doesn't test for the POSIX "sublanguage" strings. For example, en_US (American English) is the default LANG setting in all of our systems out of the box, but pscal warns about an unknown language. (It tests for "en", but nothing more.)
Unfortunately, warning isn't enough, because it generates bad PostScript as output.
Anyhow, it's good to see that someone is maintaining pscal. It's been so useful over the years!
This is almost exactly what I was about to write myself. I haven't seen
the code, just the homepage. The only thing that makes it unsuitable for
use on my systems is that (heinous sin) we aren't running Linux so we
don't have the GNU C library, and so we don't have getopt_long. That,
and modifying main() isn't what I had in mind...
If I end up writing another option generator, I'll mention this one in the
documentation as an alternative that supports getopt_long.