lkml.org 
[lkml]   [2007]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: NAK (bashizm in the /bin/sh script): [PATCH v3] doc/oops-tracing: add Code: decode info
    Date
    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@ac.upc.edu>


    -
    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/

    \
     
     \ /
      Last update: 2007-06-26 19:27    [W:2.439 / U:0.220 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site