[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
coreutils version number policy
From: |
Heiner Steven |
Subject: |
coreutils version number policy |
Date: |
Sun, 17 Jul 2005 18:01:07 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050609 |
Hello,
please excuse me if this is not the right mailing list to ask
the question.
I have two different systems (Debina and SuSE), both with
coreutils version 5.2.1 installed. The "uniq" commands on both
system print the same version number (5.2.1), but support different
command line options. In particular the first system's "uniq" supports
the "-W" option, the second system's "uniq" does not.
Is this a (version numbering) bug, or intended behavior?
I thought that the "coreutils" version number described a set of
commands together with their features and bugs, new features
causing a new version number.
If a shell script depends on uniq's "-W" feature, how can it
check for the right "coreutils" version, without actually
calling "uniq --help" and parse its output?
Heiner
--
___ _
/ __| |_ _____ _____ _ _ Heiner STEVEN <address@hidden>
\__ \ _/ -_) V / -_) ' \ Shell Script Programmers: visit
|___/\__\___|\_/\___|_||_| http://www.shelldorado.com/
- coreutils version number policy,
Heiner Steven <=