[cgiapp] CGI now fails with /bin/sh: 0: Illegal option -p after upgrade to ubuntu precise (/bin/sh--/bin/dash)

2012-10-30 Thread Michael Friendly
Env: perl 5.14.2; ubuntu precise 12.04, recently upgraded from ubuntu lucid 10.04 This may be at least as much of an OS question as a perl one, but I'm hoping that some kind soul will be willing to respond, or else point me to more appropriate resources for solving this problem. I have a

Re: [cgiapp] CGI now fails with /bin/sh: 0: Illegal option -p after upgrade to ubuntu precise (/bin/sh--/bin/dash)

2012-10-30 Thread Mark Stosberg
euclid: lib/cgi-bin % setenv DEBUG 1 euclid: lib/cgi-bin % ./sascgi 'SASFILE=getlist1.sasLISTS=1ITEMS=20' I understand why this error occurs, but not how to fix it, at either the perl or OS level. WHY: It seems that in my current ubuntu precise release, /bin/sh has been replaced by

Re: [cgiapp] CGI now fails with /bin/sh: 0: Illegal option -p after upgrade to ubuntu precise (/bin/sh--/bin/dash)

2012-10-30 Thread Matthias Ferdinand
On Tue, Oct 30, 2012 at 02:18:49PM -0400, Michael Friendly wrote: I understand why this error occurs, but not how to fix it, at either the perl or OS level. WHY: It seems that in my current ubuntu precise release, /bin/sh has been replaced by /bin/dash, and the latter does not support the -p