![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ls - maximum number of files | karnan | UNIX for Dummies Questions & Answers | 6 | 10-15-2008 06:56 PM |
| maximum number of arguments | matrixmadhan | UNIX for Dummies Questions & Answers | 9 | 10-15-2008 06:03 PM |
| handling maximum number characters in an input file | chrysSty | UNIX and Linux Applications | 1 | 05-12-2008 11:19 AM |
| help on ksh and sql..getting error as is too long. maximum size is 240 characters." | pooga17 | UNIX for Advanced & Expert Users | 1 | 02-06-2008 05:56 AM |
| Line with maximum no . of characters | mohapatra | Shell Programming and Scripting | 4 | 10-12-2006 02:31 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
|||||
|
I know that some commands on some flavours of Unix running on certain architectures may have restrictions (1024 or 2048 chars), but these are imposed by certain commands such as grep and others under those OSes. Most modern *nix shells are fairly flexible, and you can write to arrays, use xargs, and perform other chicanery to get around any limits you encounter. The Korn shell has a limit of 1024 array elements. I'm not aware of any other limits.
Why would you want to store a huge amount of data in a shell variable anyway?? Cheers ZB |
|
||||
|
Reason why i need large amount of data on a variable
Thanks for all your valuable suggestions.
I store a list of mail ids in a .lis file and from a shell script i retrieve all the mail ids and put it in a variable by using blankspace as delimiter. And i export that variable. So, there is another program which makes use of that exported variable to send the e-mail to e-mail addresses stored in that variable. When i tried with multiple entires, it allows only 512 characters. Please suggest me if there is any work around. Thanks and Regards Shanmugam |
![]() |
| Bookmarks |
| Tags |
| sendmail |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|