Prev: mysterious 15-minute delay at boot in Ultra 20 running Solaris10 X86
Next: mysterious 15-minute delay at boot in Ultra 20 running Solaris10 X86
From: hadi motamedi on 11 Aug 2010 02:27 Dear All I am running an script and it returns 'setenv:Too many arguments' . Can you please let me know how can I solve this problem? Thank you
From: hadi motamedi on 11 Aug 2010 02:50 Please find below my case : $grep setenv ./subs_mgmt setenv SMGUIROOT 'pwd' setenv TCL_LIBRARY ../lib/tcl8.0 setenv TK_LIBRARY ../lib/tk8.0 setenv PATH ${PATH}:/usr/sbin:/usr/etc:. setenv SM_SERVER_PORT 2120 $./subs_mgmt setenv:Too many arguments Can you please let me know how can I solve my problem?
From: Ian Collins on 11 Aug 2010 04:26 On 08/11/10 06:50 PM, hadi motamedi wrote: > Please find below my case : > $grep setenv ./subs_mgmt > setenv SMGUIROOT 'pwd' > setenv TCL_LIBRARY ../lib/tcl8.0 > setenv TK_LIBRARY ../lib/tk8.0 > setenv PATH ${PATH}:/usr/sbin:/usr/etc:. > setenv SM_SERVER_PORT 2120 > $./subs_mgmt > setenv:Too many arguments > Can you please let me know how can I solve my problem? Specify the shell type on the first line of the script. -- Ian Collins
From: hadi motamedi on 11 Aug 2010 04:54 On Aug 11, 12:26 pm, Ian Collins <ian-n...(a)hotmail.com> wrote: > On 08/11/10 06:50 PM, hadi motamedi wrote: > > > Please find below my case : > > $grep setenv ./subs_mgmt > > setenv SMGUIROOT 'pwd' > > setenv TCL_LIBRARY ../lib/tcl8.0 > > setenv TK_LIBRARY ../lib/tk8.0 > > setenv PATH ${PATH}:/usr/sbin:/usr/etc:. > > setenv SM_SERVER_PORT 2120 > > $./subs_mgmt > > setenv:Too many arguments > > Can you please let me know how can I solve my problem? > > Specify the shell type on the first line of the script. > > -- > Ian Collins #!/bin/csh -fb Thank you very much for your help.
From: jay on 11 Aug 2010 13:25
On Aug 11, 3:54 am, hadi motamedi <motamed...(a)gmail.com> wrote: > On Aug 11, 12:26 pm, Ian Collins <ian-n...(a)hotmail.com> wrote: > > > > > On 08/11/10 06:50 PM, hadi motamedi wrote: > > > > Please find below my case : > > > $grep setenv ./subs_mgmt > > > setenv SMGUIROOT 'pwd' > > > setenv TCL_LIBRARY ../lib/tcl8.0 > > > setenv TK_LIBRARY ../lib/tk8.0 > > > setenv PATH ${PATH}:/usr/sbin:/usr/etc:. > > > setenv SM_SERVER_PORT 2120 > > > $./subs_mgmt > > > setenv:Too many arguments > > > Can you please let me know how can I solve my problem? > > > Specify the shell type on the first line of the script. > > > -- > > Ian Collins > > #!/bin/csh -fb > Thank you very much for your help. put quotes around the multiple words. csh: setenv HHH "owrug rwg3r sdr 53 sfg w" sh: HHH="orgu th 3 t0-h 3th 3ht" export HHH j. |