From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Charles Steinkuehler <charles@steinkuehler.net>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] [PATCH] Fix for awk vs. gawk
Date: Mon, 26 Aug 2013 01:54:07 +0200 [thread overview]
Message-ID: <521A991F.2020202@xenomai.org> (raw)
In-Reply-To: <52153BE5.8060409@steinkuehler.net>
On 08/22/2013 12:15 AM, Charles Steinkuehler wrote:
> On 8/20/2013 6:12 PM, Gilles Chanteperdrix wrote:
>> On 08/21/2013 12:37 AM, Charles Steinkuehler wrote:
>>> Problem #1 (solved): The genpatches.sh script calls awk, but
>>> seems to be incompatible with the stock awk (mawk) on my Debian
>>> Wheezy system. I was getting errors on all the match ($0, ...)
>>> lines until I installed gawk:
>>
>> I knew that, sorry for not mentioning it. And by the way, if you
>> know how to rewrite this in portable awk, patches are welcome.
>
> Here you go. You have to do away with the character classes, but
> the gawk code is only using [:blank:] which is space and tab, so
> not a whole lot of horrible things to go wrong with multi-character
> international locales. :)
>
> On my system this produces the exact same output using mawk as the
> existing code produces with gawk, but I only tested in the
> ipipe-3.8 branch. That said, I think I properly converted the
> intent of the regex matching code into something most older awk
> implementations can understand.
>
> It might not be as pretty as the gawk code (I'm more used to
> hacking sed than awk, and the gawk extensions _are_ nifty), but it
> should work with most awks now.
>
Merged, thanks.
--
Gilles.
next prev parent reply other threads:[~2013-08-25 23:54 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-20 14:58 [Xenomai] Building BeagleBone kernel from git Charles Steinkuehler
2013-08-20 18:39 ` Gilles Chanteperdrix
2013-08-20 18:45 ` Sagar Behere
2013-08-21 5:53 ` Michael Haberler
2013-08-21 8:45 ` Jan Kiszka
2013-08-20 19:49 ` Charles Steinkuehler
2013-08-20 19:55 ` Gilles Chanteperdrix
2013-08-20 20:25 ` Charles Steinkuehler
2013-08-20 22:37 ` Charles Steinkuehler
2013-08-20 23:12 ` Gilles Chanteperdrix
2013-08-21 22:15 ` [Xenomai] [PATCH] Fix for awk vs. gawk Charles Steinkuehler
2013-08-25 23:54 ` Gilles Chanteperdrix [this message]
2013-08-21 13:16 ` [Xenomai] Building BeagleBone kernel from git Charles Steinkuehler
2013-08-21 18:25 ` Gilles Chanteperdrix
2013-08-24 17:10 ` Ralf Roesch
2013-08-24 17:54 ` Michael Haberler
2013-08-25 0:59 ` Charles Steinkuehler
2013-08-25 7:24 ` Ralf Roesch
2013-08-27 19:59 ` [Xenomai] [PATCH] BeagleBone 3.8.13 pre/post patches Charles Steinkuehler
2013-08-27 21:12 ` Gilles Chanteperdrix
2013-08-27 21:13 ` Gilles Chanteperdrix
2013-08-27 21:57 ` Charles Steinkuehler
2013-09-10 18:48 ` Gilles Chanteperdrix
2013-09-10 21:20 ` Charles Steinkuehler
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=521A991F.2020202@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=charles@steinkuehler.net \
--cc=xenomai@xenomai.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.