[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3cbe.46cc01a9.1e88c@altium.nl>
Date: Wed, 22 Aug 2007 09:28:09 -0000
From: dick.streefland@...ium.nl (Dick Streefland)
To: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ver_linux is [censored]
Al Viro <viro@....linux.org.uk> 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@...ium.nl (@ @) 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists