From: Oleg Verych <olecom@flower.upol.cz>
To: Chris Wedgwood <cw@f00f.org>
Cc: Sam Ravnborg <sam@ravnborg.org>,
LKML <linux-kernel@vger.kernel.org>,
davej@redhat.com, Eric Sandeen <sandeen@sandeen.net>
Subject: Re: [RFC PATCH] Add a 'minimal tree install' target
Date: Fri, 14 Sep 2007 12:04:31 +0200 [thread overview]
Message-ID: <20070914100431.GX475@flower.upol.cz> (raw)
In-Reply-To: <20070913200506.GA11582@puku.stupidest.org>
On Thu, Sep 13, 2007 at 01:05:06PM -0700, Chris Wedgwood wrote:
> On Thu, Sep 13, 2007 at 10:17:27PM +0200, Oleg Verych wrote:
>
> > That particular one-line `ALTARCH := i386' of course can be matched
> > simpler, because there's only *one* (as written above) whitespace and no
> > make's assignment variations,
>
> The goal is to extract the RHS from ALTARCH := ...
printf "C=i386\n ALTARCH = i386
ALTARCH= i386
ALTARCH :=i386
A=i386
ALTARCH := i386
ALTARCH?=i386
" | sed -n '
/^[[:blank:]]*ALTARCH[^?]*=/{
/[[:blank:]:]*=[[:blank:]]*i386[[:blank:]]*$/{
s_.*_i386_;=;p;
}
}'
Maybe this one then, to much as much valid assigments as possible :)
____
next prev parent reply other threads:[~2007-09-14 9:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-12 23:25 Chris Wedgwood
2007-09-13 18:34 ` Sam Ravnborg
2007-09-13 18:37 ` Robert P. J. Day
2007-09-13 19:26 ` Sam Ravnborg
2007-09-14 9:59 ` Tilman Schmidt
2007-09-13 18:57 ` Chris Wedgwood
2007-09-13 19:19 ` Sam Ravnborg
2007-09-13 20:17 ` Oleg Verych
2007-09-13 20:05 ` Chris Wedgwood
2007-09-14 10:04 ` Oleg Verych [this message]
2007-09-13 23:27 ` Dave Jones
2007-09-14 16:44 ` Goswin von Brederlow
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=20070914100431.GX475@flower.upol.cz \
--to=olecom@flower.upol.cz \
--cc=cw@f00f.org \
--cc=davej@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
--cc=sandeen@sandeen.net \
/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
all inboxes | Powered by JetHome®