jevaly has asked for the wisdom of the Perl Monks concerning the following question:
this results in the error: SCRIPTS=/ontw/bin/app: is not an identifier; this line is a part of the unix script urmset_01:system ". \/path\/urmset_01 rp 010101";
when I run the unix command from the shell:#!/bin/ksh FILE=$2 PAR="ONT" PATH=/usr/bin:/ontw/bin/app/:$PATH export PATH PCISERV=IS_L70 export PCISERV if [ "$PAR" = "ONT" ]; then # Development Environment export SCRIPTS=/ontw/bin/app export FUNC=/ontw/lib/app ...
it runs fine, i.e. ECHO $SCRIPTS gives the right result. can someone think of what's causing this problem and/or a solution? thanksksh>. /path/urmset_01 rp 010101
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: interaction perl - Korn shell variables
by ikegami (Patriarch) on Apr 17, 2009 at 14:16 UTC | |
by jevaly (Sexton) on Apr 20, 2009 at 13:16 UTC | |
|
Re: interaction perl - Korn shell variables
by targetsmart (Curate) on Apr 17, 2009 at 14:15 UTC | |
|
Re: interaction perl - Korn shell variables
by cdarke (Prior) on Apr 17, 2009 at 18:31 UTC |