[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190618125259.GI3419@hirez.programming.kicks-ass.net>
Date: Tue, 18 Jun 2019 14:52:59 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Will Deacon <will.deacon@....com>
Cc: Michael Forney <mforney@...rney.org>,
Boqun Feng <boqun.feng@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] locking/atomics: Use sed(1) instead of non-standard
head(1) option
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@...rney.org>
> > ---
> > scripts/atomic/check-atomics.sh | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Acked-by: Will Deacon <will.deacon@....com>
Thanks!
Powered by blists - more mailing lists