public static void main(String[] args)
{
if (args.length != 1)
usage();
Messenger msgr = new OutputStreamMessenger(System.err);
InputStream is = null;
if (args[0].equals("-"))
is = System.in;
else
{
try
{
is = new FileInputStream(args[0]);
}
catch (FileNotFoundException e)
{
msgr.fatal("File not found: "+e.getMessage());
System.exit(1);
}
}
if (!Worker.doWork(is, System.out, msgr))