Subject: Problem with custom prints scripts in 3.95

From: [email-masked] (Jason Baker)
Date: 4 Nov 96 09:33:54 PST

We're running into a problem with using a custom print script, where
Pine keeps trying to treat arguments to the script as filenames.

I've put it in a 'personally selected print command' as:
       Printer List: ""                      print_pine -bl06

In this case, "-bl06" is intended to be an argument to the script
print_pine.  When only print_pine is called, it works great.  When
the option is there, we get this error on the screen:

          [PRINT Result: Can't open -bl06: No such file or directory]

This has me completely baffled.  I'm fairly certain it's not the
script, but if somebody wants to see it, I have no problem in posting
it as well (it's a short Perl script).  Any ideas?

Jason

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 [email-masked]                    | To err is human; to really
 Systems Administrator, Information Systems    | bugger things up requires
 BC Family Maintenance Enforcement Program     | the root password.

 print unpack("u","92G5S\=\"!A;F]T:&5R(\'!E<FP\@:&%C:V5R\"\@\`\`");
                 PGP key available from keyservers.

---

From: [email-masked] (R. Stewart Ellis)
Date: 10 Nov 1996 21:38:06 GMT

>it as well (it's a short Perl script).  Any ideas?

I do not do much perl, but what you describe could be a problem of improper
quoting of args, or it might simply be a problem of not processing the args
with getopt or getopts, whichever perl uses.

This does not seem like a pine question, rather a problem with the script.

-- 
  R.Stewart(Stew) Ellis, Assoc.Prof., (Off)810-762-9765   ___________________
  Humanities & Social Science,  GMI Eng.& Mgmt.Inst. ()  /   _____  ______
  Flint, MI 48504    Free speech and free software!  /\ /        / /  /  / /
  Web admin:  http://www.gmi.edu/      [email-masked]   /________/ /  /  / /