John H. Robinson, IV wrote:
Christopher Smith wrote:
But by having the function you have cleaner ways of getting to the data
for the case where things are not completely fubar'd, which seems useful
enough that it shouldn't be a big deal having a wrapper like that.
The user never needs that.
The user may never need it, but clearly the developer does.
And there is already a method of extracting
said info: ident(1).
[EMAIL PROTECTED]:~]% ident src/cronolog-wrapper/cronolog-syslog-wrapper
src/cronolog-wrapper/cronolog-syslog-wrapper:
$Id: cronolog-syslog-wrapper 16 2007-11-09 19:49:20Z jhriv $
$cronolog: $
That works by doing fairly loose pattern matching. Accessing it through
a function is much cleaner and reliable.
--Chris
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg