arguments too long error

Thread Tools Search this Thread
Top Forums Shell Programming and Scripting arguments too long error
# 1  
Old 07-21-2006
arguments too long error


I am running a .csh shell and get this error.
set dir=/u21/oradata/SDE/cass
echo /u21/oradata/SDE/cass
set compression=jpeg
set bustab=CASS_ORTHO2005
set keyword=cnty_2005
set resampling=bilinear
set image_list=/u21/oradata/SDE/cass/*.tif
Arguments too long.

I did not get the errors when the image_list was only 6 for testing. Now the image_list is > 3000 and its too long.

Seems I am hitting a limit somehere.

Here is the rest of the script.

set first_one_loaded=false
foreach image ($image_list)
if ($first_one_loaded == "false") then
sderaster -o import -l $bustab,image -G $proj_id -f $image -c $compression -q 75 -g $connection -k $keyword
sderaster -o mosaic -l $bustab,image -v 1 -f $image $connection
set first_one_loaded=true

Does this error have to do with the memory ulimit?

Last edited by kburrows; 07-21-2006 at 03:32 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Too many arguments error

Here's my code. 21 if ; then 22 23 ls addr*.tmp | while IFS= read -r entry; do # Starts Reading .cfg files one by one ... 24 echo $entry I get the below error at line number 21 line 21: Can you tell me how can i alter my code to avoid the error ? (3 Replies)
Discussion started by: mohtashims
3 Replies

2. Shell Programming and Scripting

How to avoid "Too many arguments" error, when passing a long String literal as input to a command?

Hi, I am using awk here. Inside an awk script, I have a variable which contains a very long XML data in string format (500kb). I want to pass this data (as argument) to curl command using system function. But getting Too many arguments error due to length of string data(payloadBlock). I... (4 Replies)
Discussion started by: cool.aquarian
4 Replies

3. UNIX for Dummies Questions & Answers

Error as too many arguments

kindly some one pls let me know what is the prb with the code. tired of debugging. psl let me know the details on resolution #!/bin/bash echo enter name read name if || ] ; then echo $name else echo none fi (4 Replies)
Discussion started by: anandpasunoori
4 Replies

4. Shell Programming and Scripting

Passing arguments--Error

Hi, i have a file.txt with data Bangalore Chennai Hyd filename of the script is: result=`cat file.txt | grep $1` if then echo pass else echo fail fi i am executing the file in the cmd line as "sh Bangalore" o/p is pass if i give "sh delhi" o/p is... (6 Replies)
Discussion started by: harsha85
6 Replies

5. Shell Programming and Scripting

Bash too many arguments error

Hello, I've got this little script that gets a bunch of comics and puts them in an html file. However, when I check that the comic URL is there and that it's a new one, I get the "too many arguments" error. The script is this: CADURL=`curl --silent | grep -o... (10 Replies)
Discussion started by: killer54291
10 Replies

6. UNIX for Dummies Questions & Answers

vi : Line too Long Error

Hi ! I am woking on Solaris 5.10 and face a problem sometimes when i try to open files in the vi editor . Sometime when the file is big i am not able to view the file in vi and i get the error like I guess vi have some line size setting and if the lines are ,longer than that... (4 Replies)
Discussion started by: Paarth
4 Replies

7. Shell Programming and Scripting

Too many arguments error

I need help. I have created my script for a simple calculator but my multiplication operator does not work. This is the the code: #!/bin/bash echo "Enter number1" read Number1 echo"Enter number2" read Number2 echo"Operator is *" read opr if then expr $Number1 \*... (1 Reply)
Discussion started by: Pauline mugisha
1 Replies

8. UNIX for Dummies Questions & Answers

Lines too long error

Hi Gurus, I have a big file having around 5000 lines. What I need to do is as below. $cat myfile aaaa bbbb ccc ddd ... I want the output to be as below: 'aaaa,'bbbb','cccc'.... For this I have written something like this code: vi sac.txt |nawk '{printf NR","}'>ss code: (2 Replies)
Discussion started by: thana
2 Replies

9. UNIX for Dummies Questions & Answers

"Arguments too long"

Hi everyone, I know this sounds stupid but on my Sun solaris machine I have csh script that finds all files 7 days older and then moves it to another area. The find works but the move I get "Arguments too long". I know that in c shell can not handel more 1706 arguments. Can anyone give... (2 Replies)
Discussion started by: Peterh
2 Replies

10. UNIX for Dummies Questions & Answers

Arguments too long????

I'm trying to tranfer files via ftp form UNIX to Linux and vice versa. When I tried mget command I received this message: "arguments too long". What should I do to transfer multiple files?????? (2 Replies)
Discussion started by: rrivas
2 Replies
Login or Register to Ask a Question
ldns(3) 						     Library Functions Manual							   ldns(3)

ldns_get_rr_class_by_name, ldns_get_rr_type_by_name- SYNOPSIS
#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> ldns_rr_class ldns_get_rr_class_by_name(const char *name); ldns_rr_type ldns_get_rr_type_by_name(const char *name); DESCRIPTION
ldns_get_rr_class_by_name() retrieves a class by looking up its name. name: string with the name Returns the cass which corresponds with the name ldns_get_rr_type_by_name() retrieves a rrtype by looking up its name. name: a string with the name Returns the type which corresponds with the name AUTHOR
The ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben. REPORTING BUGS
Please report bugs to or in our bugzilla at COPYRIGHT
Copyright (c) 2004 - 2006 NLnet Labs. Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. SEE ALSO
ldns_rr, ldns_rr_list. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035. REMARKS
This manpage was automaticly generated from the ldns source code by use of Doxygen and some perl. 30 May 2006 ldns(3)

Featured Tech Videos