From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Earnie Boyd" To: john.cook@kla-tencor.com Cc: gnu-win32@cygnus.com Subject: Re: bash problems: with cp with a for loop Date: Thu, 16 Oct 1997 04:37:00 -0000 Message-id: <19971016113622.11312.qmail@hotmail.com> X-SW-Source: 1997-10/msg00334.html Let me point you to: ftp://ftp.cygnus.com/pub/gnu-win32/latest/ http://www.cygnus.com/pubs/gnupro/ http://www.cygnus.com/misc/gnu-win32/ http://www.cygnus.com/ml/gnu-win32 - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd@hotmail.com- ------ooo0O--O0ooo------- >From: John Cook >To: "'gnuwin32'" >Subject: bash problems: with cp with a for loop >Date: Wed, 15 Oct 1997 15:54:47 -0700 > > >Hi. > >The following works with bash 1.14.0(5) under SCO but >not with bash-1.14.7(5) under gnuwin32 (i.e., the bash >that came with b18). > > for fname in `ls` > do cp $fname /tmp; done > >I get an error such as the following for each filename >`ls` spits out: > > cp: Acr99.tmp: No such file or directory > >Can anyone tell me what I'm doing wrong or if this is a >known problem with gnuwin32 bash? > >--John >(novice shell programmer, trying to escape from CMD.EXE) >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request@cygnus.com" with one line of text: "help". > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help".