From: Peter Zijlstra <peterz@infradead.org>
To: Will Deacon <will.deacon@arm.com>
Cc: Michael Forney <mforney@mforney.org>,
Boqun Feng <boqun.feng@gmail.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] locking/atomics: Use sed(1) instead of non-standard head(1) option
Date: Tue, 18 Jun 2019 14:52:59 +0200 [thread overview]
Message-ID: <20190618125259.GI3419@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <20190618121625.GC31041@fuggles.cambridge.arm.com>
On Tue, Jun 18, 2019 at 01:16:25PM +0100, Will Deacon wrote:
> On Mon, Jun 17, 2019 at 10:33:06PM -0700, Michael Forney wrote:
> > POSIX says the -n option must be a positive decimal integer. Not all
> > implementations of head(1) support negative numbers meaning offset from
> > the end of the file.
> >
> > Instead, the sed expression '$d' has the same effect of removing the
> > last line of the file.
> >
> > Signed-off-by: Michael Forney <mforney@mforney.org>
> > ---
> > scripts/atomic/check-atomics.sh | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Acked-by: Will Deacon <will.deacon@arm.com>
Thanks!
next prev parent reply other threads:[~2019-06-18 12:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-18 5:33 [PATCH] locking/atomics: Use sed(1) instead of non-standard head(1) option Michael Forney
2019-06-18 12:16 ` Will Deacon
2019-06-18 12:52 ` Peter Zijlstra [this message]
2019-06-25 8:46 ` [tip:locking/core] " tip-bot for Michael Forney
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=20190618125259.GI3419@hirez.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=boqun.feng@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mforney@mforney.org \
--cc=will.deacon@arm.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