[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070623103834.b0f530d8.seanlkml@sympatico.ca>
Date: Sat, 23 Jun 2007 10:38:34 -0400
From: Sean <seanlkml@...patico.ca>
To: Andi Kleen <ak@...e.de>
Cc: Arkadiusz Miskiewicz <arekm@...en.pl>,
Oleg Verych <olecom@...wer.upol.cz>,
Randy Dunlap <randy.dunlap@...cle.com>,
lkml <linux-kernel@...r.kernel.org>, akpm@...ux-foundation.org
Subject: Re: NAK (bashizm in the /bin/sh script): [PATCH v3]
doc/oops-tracing: add Code: decode info
On Sat, 23 Jun 2007 15:17:27 +0200
Andi Kleen <ak@...e.de> wrote:
> In this case it's not good enough. We're not writing POSIX portable software
> here, but Linux software where /bin/sh is /bin/bash. Similar to the Linux
> kernel which is not written in portable ISO C.
There's no rule that says /bin/sh is always /bin/bash. What Novell
distributions do does not translate to all of "Linux". If you are writing
scripts that rely on bash then "#!/bin/bash" is the appropriate way to
document that and give it the best chance of working portably.
Sean
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists