From: ichi@ihug.co.nz
To: Paul Kraus <pkraus@pelsupply.com>
Cc: linux-newbie@vger.kernel.org
Subject: Re: Perl
Date: Thu, 05 Dec 2002 06:56:20 +0000 [thread overview]
Message-ID: <3DEEF894.77939240@ihug.co.nz> (raw)
In-Reply-To: 019001c29bac$8f711bf0$64fea8c0@pkrausxp
Paul Kraus wrote:
>
> How can I make this assignment in one statement.
> I know its going to be something easy.
> $path=$5;
> $path=~s/ /\\ /g;
I don't understand. Is this part of a bash script?
It looks like you a trying to assign the fifth parameter
(path=$5) to a variable named path (which BTW is not the
PATH) and then manipulate it in some way (something to do
with \ I think).
Perhaps this is some language that I am unfamiliar with?
If so, I apologize. However, if is bash, I suggest you
explain in words what you want to do, and I will try to
script it.
Cheers,
Steven
-
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-12-05 6:56 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-04 15:48 Perl Paul Kraus
2002-12-05 6:56 ` ichi [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-12-04 19:24 Perl Alan Womack
2004-04-01 5:54 Perl Scott@Charter
2004-04-01 5:29 ` Perl tyler
2004-04-01 6:54 ` Perl Scott@Charter
2004-04-01 7:25 ` Perl Richard Nairn
2004-04-01 8:20 ` Perl Dan Kubilos
2004-04-01 14:51 ` Perl Adam Lang
2004-04-01 18:48 ` Perl Bradley Hook
2004-04-05 2:30 ` Perl Bradley D. Thornton
2004-04-05 5:09 ` Perl Bradley D. Thornton
2004-04-05 6:10 ` Perl Nico Schottelius
2004-04-05 6:39 ` Perl Scotts Charter
2004-04-05 13:03 ` Perl Adam Lang
2004-04-19 19:47 ` Perl Matt Howard
2006-11-13 22:56 Perl Lee Revell
2006-11-14 16:28 ` Perl Kim Phillips
2006-11-14 16:39 ` Perl Lee Revell
2006-11-14 16:48 ` Perl Brent Cook
2006-11-14 17:08 ` Perl Wolfgang Grandegger
2006-11-14 17:42 ` Perl Lee Revell
2006-11-14 21:50 ` Perl Wolfgang Denk
2006-11-20 4:21 ` Perl Leonid
2006-11-20 8:34 ` Perl Wolfgang Denk
2006-11-20 14:12 ` Perl Leonid
2006-11-20 15:28 ` Perl Leonid
2006-11-14 18:20 ` Perl Lee Revell
2006-11-15 5:54 ` Perl David H. Lynch Jr.
2006-11-14 21:07 ` Perl Wolfgang Denk
2006-11-23 7:26 ` Perl Matthias Fuchs
2006-11-23 23:00 ` Perl Wolfgang Denk
2006-11-24 11:23 ` Perl Matthias Fuchs
2006-12-01 15:50 ` Perl Clemens Koller
2006-11-15 7:22 Perl Adrian
2006-11-15 16:21 ` Perl Lee Revell
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=3DEEF894.77939240@ihug.co.nz \
--to=ichi@ihug.co.nz \
--cc=linux-newbie@vger.kernel.org \
--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.