From: ichi@ihug.co.nz
To: Paul Furness <paul.furness@vil.ite.mee.com>
Cc: Paul Kraus <pkraus@pelsupply.com>,
linux-newbie@jimmo.com, linux-newbie@vger.kernel.org
Subject: Re: Variable Quoting
Date: Wed, 16 Oct 2002 07:23:50 +0000 [thread overview]
Message-ID: <3DAD1406.12077252@ihug.co.nz> (raw)
In-Reply-To: 1034698386.11967.13.camel@zebra.vil.ite.mee.com
Paul Furness wrote:
>
> Path="My Documents/"
> for FILENAME in ls "${Path}"
> do
> cp "${Path}${Filename}" "/tmp"
> done
I think you mean:
----------------------------------
Path="My Documents/"
for FILENAME in `ls "${Path}"`
do
cp "${Path}${FILENAME}" "/tmp"
done
----------------------------------
Note the changes in lines two and four.
Cheers,
Steven
______________________________
http://www.volny.cz/basiclinux
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2002-10-16 7:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200210142055.11942.linux-newbie@jimmo.com>
2002-10-14 18:38 ` Variable Quoting Paul Kraus
2002-10-14 19:58 ` James Mohr
2002-10-14 19:53 ` Paul Kraus
2002-10-15 16:13 ` Paul Furness
2002-10-16 7:23 ` ichi [this message]
2002-10-16 10:51 ` Paul Furness
2002-10-14 19:55 ` Paul Kraus
2002-10-14 21:00 ` James Mohr
2002-10-14 16:02 Paul Kraus
2002-10-14 16:32 ` Jim Reimer
2002-10-14 16:38 ` Jim Reimer
2002-10-14 17:59 ` Paul Kraus
2002-10-14 20:54 ` Don Petrowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DAD1406.12077252@ihug.co.nz \
--to=ichi@ihug.co.nz \
--cc=linux-newbie@jimmo.com \
--cc=linux-newbie@vger.kernel.org \
--cc=paul.furness@vil.ite.mee.com \
--cc=pkraus@pelsupply.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.