Sam Ravnborg @ Thu, May 1, 2008 at 10:42 PM: > > > > sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* > > > > \3 */:; s:->::; p;}" < asm-offsets.s > > > > > > > > Here is side-problem with this script, which manifests itself as so: > ... > Can you come up with a _minimal_ fix that makes it compatible with > busy-box AND GNU sed? Script works in GNU and busybox sed, except that "$#" thing. Let's wait for `set -x` feedback. _____ -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html