From: "Roberto A. Foglietta" <roberto.foglietta@gmail.com>
To: Cody P Schafer <devel-lists@codyps.com>
Cc: crossgcc@sourceware.org
Subject: Re: Fwd: Patch submission
Date: Tue, 29 Oct 2013 08:44:00 -0000 [thread overview]
Message-ID: <CAJGKYO74k3zYt3rgG00uViejJRWP0e3zVhezbat-bEnYuDDsyA@mail.gmail.com> (raw)
In-Reply-To: <526EFF76.3080002@codyps.com>
2013/10/29 Cody P Schafer <devel-lists@codyps.com>:
> On 10/04/2013 08:29 AM, Roberto A. Foglietta wrote:
>>
>> - printf "${CT_LIBC_GLIBC_CONFIGPARMS}\n" > configparms
>> + printf -- "${CT_LIBC_GLIBC_CONFIGPARMS}\n" > configparms
>>
>
> This isn't portable. Is there a reason not to just do:
>
> + printf "%s\n" "${CT_LIBC_GLIBC_CONFIGPARMS}" > configparms
>
> ?
>
Hi Cody,
yes it works, you are right.
example code:
a="--ciao";
printf "%s\n" "$a" && echo OK;
printf "$a" 2>/dev/null || echo ERROR
code output:
--ciao
OK
ERROR
Thanks,
--
Roberto A. Foglietta
mobile: (+39) 349.33.30.697
http://roberto.foglietta.name
--
For unsubscribe information see http://sourceware.org/lists.html#faq
prev parent reply other threads:[~2013-10-29 8:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAJGKYO7OouY7giQ2-X6UOwByar3ja3_fkUwx3CagJt-1Y3Lxqw@mail.gmail.com>
[not found] ` <CAJGKYO7cZ9Esh=uK0MhD62qSzq1OdjgjG8AiFLkHhoz9bdFNdw@mail.gmail.com>
2013-10-04 15:30 ` Roberto A. Foglietta
2013-10-29 0:21 ` Cody P Schafer
2013-10-29 8:44 ` Roberto A. Foglietta [this message]
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=CAJGKYO74k3zYt3rgG00uViejJRWP0e3zVhezbat-bEnYuDDsyA@mail.gmail.com \
--to=roberto.foglietta@gmail.com \
--cc=crossgcc@sourceware.org \
--cc=devel-lists@codyps.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 read-only IMAP folder(s) and NNTP newsgroup(s).