lkml.org 
[lkml]   [2001]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Announce: modutils 2.3.24 is available
Date
On Wed, 3 Jan 2001 12:40:05 +0100, 
Matthias Andree <matthias.andree@stud.uni-dortmund.de> wrote:
>On Wed, 03 Jan 2001, Keith Owens wrote:
>
>> Matthias Andree <matthias.andree@stud.uni-dortmund.de> wrote:
>> >There's a problem. depmod should not try to do anything besides giving
>> >its version when --version is used, should it?
>>
>> Historical accident. I want to clean that up but it breaks existing
>> behaviour;
>
>Okay, backwards compatibility weighs a lot.
>
>May I kindly ask you to give a note that -V does NOT terminate the
>program, but also comprises regular operation in --help and the man
>pages?
>
>I can send in a patch if you want (that just changes the docs, but not
>the functionality).

Don't bother. It will change in 2.5 anyway, I can live with the odd
query until then. If you really want to get only the version number
then this will work for modutils 2.x for x >= 3.

(/sbin/depmod -V -n | head -1) 2>/dev/null

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.031 / U:0.024 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site