Re: NAK (bashizm in the /bin/sh script): [PATCH v3] doc/oops-tracing: add Code: decode info

From: Julio M. Merino Vidal
Date: Tue Jun 26 2007 - 13:25:18 EST


On 26/06/2007, at 19:19, Randy Dunlap wrote:

Are these 2 line changes all that is needed?

I sort of expected expressions like $((a + 2)) to need change also...
maybe not for dash, but for sh?

The correct expression could be $((${a} + 2)). Tested under NetBSD's sh, which is very POSIX-compliant.

--
Julio M. Merino Vidal <jmerino@xxxxxxxxxx>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/