- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- [help]setenv: Too many arguments.[help]
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2004 06:51 PM
тАО04-26-2004 06:51 PM
I've got a problem recently.
I've two big applications ,both of them are needed to set a lot of parameters in the csh enviroment .and of course I also have some personal parameter need to be set.
but after I add all the lines(like below) to a env.cshrc
setenv PARAMATER1 XXXXXX
...
and run the command
source /PATH/TO/env.cshrc
I got a error message:
setenv: Too many arguments.
and as it said.
some parameters no set as well.
I'm just wondering ,is there a limition of the numbers of csh's parameter?
how can I fix this problem?if later I have more applications and need more parameters needed to be set,what can I do?
thanks
Br Rzhang
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2004 07:07 PM
тАО04-26-2004 07:07 PM
Re: [help]setenv: Too many arguments.[help]
Just go back and check by mistake if your syntax i.e. setenv PARAMATER1 XXXXXX is consistent allover.
What you have given is correct but somewhere it might have gone wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2004 07:28 PM
тАО04-26-2004 07:28 PM
Re: [help]setenv: Too many arguments.[help]
app1.cshrc / app2.cshrc / personal.cshrc
before I add "source app2.cshrc" to ~/.cshrc ,I only "source app1.cshrc;source personal.cshrc" in my ~/.cshrc
I can source ~/.cshrc successfully , when the ~/.cshrc only have 2 *.cshrc file i.e.(app1.cshrc + personal.cshrc) or (app2.cshrc + personal.cshrc)
but failed when the ~/.cshrc have all the three *.cshrc (app1.cshrc + app2.cshrc + personal.cshrc)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2004 07:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2004 07:59 PM
тАО04-26-2004 07:59 PM
Re: [help]setenv: Too many arguments.[help]
I would use a 'binary search' to find the offending line: comment out half of the lines and see if the error is in the remaining lines or in the lines commented out. Next, refine you search.
I too believe you have a space somewhere in an parameter assignment.
Maybe the cshell has a verbose mode like the posix shells ('set -xv')?
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2004 08:05 PM
тАО04-26-2004 08:05 PM
Re: [help]setenv: Too many arguments.[help]
sorry for my careless! 8-)