From: Gustavo Zacarias <gustavo@zacarias.com.ar>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/4] sysv init scripts: fix == bashism
Date: Tue, 11 Nov 2014 10:12:56 -0300 [thread overview]
Message-ID: <54620B58.9030304@zacarias.com.ar> (raw)
In-Reply-To: <1414345306-27184-1-git-send-email-dywi@mailerd.de>
On 10/26/2014 02:41 PM, Andr? Erdmann wrote:
> test a == b is not available in e.g. dash.
>
> Command(s) used for editing:
>
> q=\[\"\'\]
> operand="${q}?[$]?[a-zA-Z0-9_\?]+${q}?" ## doesn't detect ${VAR}
> test_expr="(\[\s+${operand}\s+)==(\s+${operand}\s+\])"
>
> find . -type f -name '[SK][0-9][0-9]*' | \
> xargs sed -r -e "s@${test_expr}@\1=\2 at g" -i
>
> Signed-off-by: Andr? Erdmann <dywi@mailerd.de>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
next prev parent reply other threads:[~2014-11-11 13:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-26 17:41 [Buildroot] [PATCH 1/4] sysv init scripts: fix == bashism André Erdmann
2014-10-26 17:41 ` [Buildroot] [PATCH 2/4] sysv init scripts: remove gettext invocations André Erdmann
2014-10-26 17:53 ` Thomas Petazzoni
2014-10-26 17:41 ` [Buildroot] [PATCH 3/4] sysv init scripts: replace &>/dev/null redirection André Erdmann
2014-10-26 17:53 ` Thomas Petazzoni
2014-10-26 17:41 ` [Buildroot] [PATCH 4/4] sysv init scripts: use symbolic names in trap command André Erdmann
2014-10-26 17:53 ` Thomas Petazzoni
2014-11-11 13:12 ` Gustavo Zacarias [this message]
2014-11-11 22:09 ` [Buildroot] [PATCH 1/4] sysv init scripts: fix == bashism Peter Korsgaard
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=54620B58.9030304@zacarias.com.ar \
--to=gustavo@zacarias.com.ar \
--cc=buildroot@busybox.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