Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: sladek DOT roman AT ct DOT cz X-OpenMail-Hops: 2 Date: Mon, 19 May 2003 14:51:37 +0200 Message-Id: Subject: many files MIME-Version: 1.0 TO: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline ;Creation-Date="Mon, 19 May 2003 14:51:37 +0200" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h4JCpq432233 I can't use ls *log command in directory where is stored many files. I have this script for simulate my problem: # POCET=0 while [ $POCET -ne 840 ] do POCET=`expr $POCET + 1` echo "file nr.$POCET" touch Split1.$POCET.INCA_SENTRALOMRADE__.cif.log ls *log|wc -l done results is here: file nr.1 1 .....etc. ... file nr.820 820 file nr.822 ./a.sh: ls: error 22 0 also from bash$ ls *log bash: /usr/bin/ls: Invalid argument but: bash$ ls work fine, where is problem? my cygwin version is 1.3.22(0.78/3/2) -- 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/