LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 06-21-2007, 08:45 PM   #1
just_a_kid
LQ Newbie
 
Registered: Dec 2006
Posts: 24

Rep: Reputation: 15
How to increase buffer size on the shell


hi

I have this
Code:
#!/bin/csh

java runJob someliststring
and it gave me error "Word Too long"

How do i resolve this?
maybe increase the buffer size of the shell?

How do i do that?
thanks
 
Old 06-22-2007, 03:02 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,499

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Short answer: never use csh for shell scripting.
 
Old 06-22-2007, 05:19 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 231Reputation: 231Reputation: 231
http://linuxmafia.com/faq/Essays/sma...tml#bespecific
In your case "csh" in the title would have been really helpful. Not only would you avoid the possibility of petulant, unresponsive answers from irritated bash users (like myself, although I'm trying not to be petulant), but you might get a good answer faster.

BTW, is csh the default shell on Solaris? -- The average Linux user wouldn't know that.

What does the man page say?
 
Old 06-22-2007, 06:12 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,499

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Quote:
Originally Posted by archtoad6
BTW, is csh the default shell on Solaris?
It isn't, despite csh being originally created by Sun co-founder Bill Joy. /bin/sh is the default shell on Solaris but /bin/ksh the most used one.
csh is perhaps a valid choice as an interactive shell, but it is notoriously unsuitable for scripts, not only by bash or competing shell supporters but just because it is broken. http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/
Quote:
What does the man page say?
NOTES
Words can be no longer than 1024 bytes.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
any way to increase CD-ROM buffer, increase spindown delay, XMMS buffer r00tb33r Linux - Hardware 5 06-12-2009 12:10 AM
How to increase the serial transmit buffer size in the Kernel. pwlodarczyk Programming 13 01-21-2009 04:39 PM
Increase the command line buffer size Akiles Linux - General 3 04-19-2005 11:17 AM
how to increase serial receive email buffer size? HZC Programming 0 02-14-2005 10:32 PM
increase point size size when printing PDF files newlin Red Hat 0 09-27-2003 07:13 AM


All times are GMT -5. The time now is 05:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration