At 04:50 PM 7/8/2004, you wrote: >Dear all, > I am facing strange problem. I have a directory test1 in which there >are number of files. I am running following command and see some problem >here. > >$ ls test1/* | wc > 2745 2745 32724 > >So total number of charcter if all filename is written on command line is >32724. Now I create another file. > >$ touch test1/a >$ ls test1/* >bash: /bin/ls: Invalid argument > >ls does not work in this case. Is there any limitation on total number of >charcters in command line?
Yes. There always is. And you just hit it. >How could we change it to higher limit? 'man xargs' -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/