public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michal 'vorner' Vaner" <vorner@ucw.cz>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] {OT} wput with weird characters
Date: Sat, 1 Sep 2007 14:08:51 +0200	[thread overview]
Message-ID: <20070901120851.GA24045@tarantula.kolej.mff.cuni.cz> (raw)
In-Reply-To: <200709010345.55136.wonko@wonkology.org>

[-- Attachment #1: Type: text/plain, Size: 792 bytes --]

Hello

On Sat, Sep 01, 2007 at 03:45:54AM +0200, Alex Schuster wrote:
> Grant writes:
> 
> > > > wput -A file.txt ftp://username:abc\!123\&@ftp.example.com/file.txt
> > >
> > > Did you try using ' around the whole argument? Like
> > >
> > > wput -A ... 'ftp://....txt'?
> >
> > That did it.  Thanks everyone!
> 
> Hmm... there really should be no difference whether you put the whole string 
> between single quotes or just escape the ! and &. For the application you 
> start it is not even possible to see which notation you used.

Sure, but I never know which char I need to escape and which I don't.
This way I do not care - less space to escape it in bad way.

-- 
You can't have everything... where would you put it?
    -- Steven Wright

Michal 'vorner' Vaner

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-09-01 12:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-31 18:50 [gentoo-user] {OT} wput with weird characters Grant
2007-08-31 19:22 ` Michal 'vorner' Vaner
2007-08-31 21:20   ` Grant
2007-09-01  1:45     ` Alex Schuster
2007-09-01 12:08       ` Michal 'vorner' Vaner [this message]
2007-08-31 19:45 ` Willie Wong
2007-08-31 20:38 ` Alex Schuster

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=20070901120851.GA24045@tarantula.kolej.mff.cuni.cz \
    --to=vorner@ucw.cz \
    --cc=gentoo-user@lists.gentoo.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox