Messages in this thread | | | Subject | Re: NAK (bashizm in the /bin/sh script): [PATCH v3] doc/oops-tracing: add Code: decode info | From | Arne Georg Gleditsch <> | Date | Thu, 28 Jun 2007 09:58:45 +0200 |
| |
Randy Dunlap <randy.dunlap@oracle.com> writes: > On Tue, 26 Jun 2007 19:25:00 +0200 Julio M. Merino Vidal wrote: >> The correct expression could be $((${a} + 2)). Tested under NetBSD's >> sh, which is very POSIX-compliant. > > Thanks. Does anyone see other changes that are needed?
[..]
> and the complete script is:
Both busybox sh and dash are happy with this. (Or rather, busybox would be if its mktemp hadn't been broken.)
-- Arne. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |