public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: Timothy Redaelli <drizzt@gentoo.org>, gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [RFC] QA bashism check on portage
Date: Thu, 26 Feb 2009 10:08:14 -0500	[thread overview]
Message-ID: <200902261008.16414.vapier@gentoo.org> (raw)
In-Reply-To: <200902261233.23823.drizzt@gentoo.org>

On Thursday 26 February 2009 06:33:17 Timothy Redaelli wrote:
> On Thursday 26 February 2009 10:32:52 you wrote:
> > i'm totally not following.  we were talking about POSIX shell syntax, but
> > now you're talking about utilities as well ?
>
> I'm talking about checkbashism.pl checks and btw type is a builtin and kill
> can also be a builtin

it doesnt matter if they're builtins, they still need to follow POSIX

> kill -HUP
> `cat /var/run/mDNSResponderPosix.pid` >&/dev/null possible bashism in
> /etc/init.d/mDNSResponderPosix line 35 (kill -[0-9] or -[A-Z]): kill -HUP

POSIX states that `kill [-signal_name]` is valid syntax.  if the shell doesnt 
support it, then it isnt POSIX complaint and therefore it sucks and is not 
worth consideration.
-mike



      parent reply	other threads:[~2009-02-26 15:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-25 16:10 [gentoo-dev] [RFC] QA bashism check on portage Timothy Redaelli
2009-02-25 22:45 ` Mike Frysinger
2009-02-26  9:27   ` Timothy Redaelli
2009-02-26  9:32     ` Mike Frysinger
     [not found]       ` <200902261233.23823.drizzt@gentoo.org>
2009-02-26 15:08         ` Mike Frysinger [this message]

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=200902261008.16414.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=drizzt@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox