From: Bosco <jbosco.gg@gmail.com>
To: Eric Blake <eblake@redhat.com>
Cc: dash@vger.kernel.org
Subject: Re: echo "\\1"?
Date: Thu, 27 Jul 2017 15:32:48 +0000 [thread overview]
Message-ID: <CAC4gepeSgK9DmnouEjssrRxfFVnk2ozpCD-7+4cSPX-TKLRzSw@mail.gmail.com> (raw)
In-Reply-To: <CAC4gepdMmWSdheZbfw44fn3eexJ4Wg3gSkj7pMChLNodB3UyTw@mail.gmail.com>
Ahh, now I understood.
In command
echo \\\\
first dash interprets the command line (and the arguments), then
internally echo interprets the arguments. But echo is part of dash, so
dash interprets twice the same argument. Sorry I didn't know that.
Thank you for your help and your time.
Bosco.
next prev parent reply other threads:[~2017-07-27 15:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-27 12:23 echo "\\1"? Bosco
2017-07-27 12:54 ` Eric Blake
2017-07-27 13:13 ` Bosco
2017-07-27 14:24 ` Eric Blake
2017-07-27 14:44 ` Bosco
2017-07-27 14:51 ` Eric Blake
2017-07-27 15:10 ` Bosco
2017-07-27 15:19 ` Eric Blake
2017-07-27 15:32 ` Bosco [this message]
2017-07-27 17:26 ` Harald van Dijk
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=CAC4gepeSgK9DmnouEjssrRxfFVnk2ozpCD-7+4cSPX-TKLRzSw@mail.gmail.com \
--to=jbosco.gg@gmail.com \
--cc=dash@vger.kernel.org \
--cc=eblake@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).