Messages in this thread | | | From | Keith Owens <> | Subject | Re: Announce: modutils 2.3.24 is available | Date | Wed, 03 Jan 2001 23:03:05 +1100 |
| |
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/
| |