- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: csh error
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
Forums
Discussions
Discussions
Forums
Discussions
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
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
03-17-2003 01:09 PM
03-17-2003 01:09 PM
I try assign a bunch of items to a csh variable:
set a = "$a1 $a2 $a3"
where a1, a2 and a3 have lists of strings in them.
I get an error message "Word too long".
Anybody knows how to fix that?
Thanks,
Vlad
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2003 01:31 PM
03-17-2003 01:31 PM
Re: csh error
You need to trim one of them down, or better yet: use perl.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2003 01:34 PM
03-17-2003 01:34 PM
Re: csh error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2003 01:34 PM
03-17-2003 01:34 PM
Solution# set a1=`ls -lR /tmp;ls -l /tmp;ls -l /tmp;ls -l /tmp`
# set a="$a1 $a2 $a3"
Word too long.
# echo $a1|wc
1 3191 17880
# echo $a2|wc
1 1 1012
# echo $a3|wc
1 1 721
#
and I had a2 and a3 equal to some silly long strings.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2003 02:00 PM
03-17-2003 02:00 PM
Re: csh error
Ron