Re: [PATCH] ver_linux is [censored]

From: Dick Streefland
Date: Wed Aug 22 2007 - 05:41:17 EST


Al Viro <viro@xxxxxxxxxxxxxxxx> wrote:
| or, simpler yet,
|
| sed -n -e '/^.*\/libc-\([^/]*\)\.so$/{s//\1/;p;q}' </proc/self/maps

Or:

sed -n 's/^.*\/libc-\([^/]*\)\.so$/\1/p; T; q' < /proc/self/maps

--
Dick Streefland //// Altium BV
dick.streefland@xxxxxxxxx (@ @) http://www.altium.com
--------------------------------oOO--(_)--OOo---------------------------

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