× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



bill.blalock@xxxxxxxx skrev den 19-10-2007 15:36:
David:

You are right, end of long day. That was poorly worded. The gist is
"Does a script processed by qsh have a limit on the length of a command? If so what are the tricks to get around it? (continuation or whatever)"

I've run into limits on what the Windows 2000 command processor in terms of length of the command. I was wondering what limits are on a qsh command, particularly one built in a script.
Yes. Unix shells (which qsh does quite a good job of being) has a limit on the number of arguments possible on a single command line.

Usually the xargs command know about this, so you usually do something like

echo * | xargs echo

(where * gives many files, xargs then chops them up in suitable batches and append them to the command - here echo).

There is no limit in the length of the strings passed in the pipe, only on the command length.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.