From: "Aurélien Aptel" <aaptel@suse.com>
To: Zorro Lang <zlang@redhat.com>, fstests@vger.kernel.org
Subject: Re: [PATCH] common/rc: filter uncertain stat error output
Date: Wed, 09 Dec 2020 15:27:44 +0100 [thread overview]
Message-ID: <877dprdpgf.fsf@suse.com> (raw)
In-Reply-To: <20201209140738.1057460-1-zlang@redhat.com>
> +stat()
> +{
> + # filter uncertain "statx/stat" error output
> + command stat $@ 2> >(sed -e 's/statx/stat/' >&2)
> +}
> +
I think $@ be quoted like so "$@" so as to handle
stat "a a" "b b"
properly
Cheers,
--
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, DE
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 247165 (AG München)
next prev parent reply other threads:[~2020-12-09 14:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-09 14:07 [PATCH] common/rc: filter uncertain stat error output Zorro Lang
2020-12-09 14:27 ` Aurélien Aptel [this message]
2020-12-09 19:28 ` Darrick J. Wong
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=877dprdpgf.fsf@suse.com \
--to=aaptel@suse.com \
--cc=fstests@vger.kernel.org \
--cc=zlang@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