On Friday 15 November 2002 01:40 am, David Lawyer wrote:
> for F in $(command ls $1); do
>
> The "command ls" insures that ls is not a shell function but the real ls
> command.
The following may be another solution
for F in $(ls --color=no -1); do

Also, the following will allow spaces in filenames without problems
for F in $(ls --color=no -1b); do

Warren

-- 
Treasurer, GOLUM, Inc.
http://www.golum.org




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to