M.Canales.es wrote:
> El Sábado, 22 de Abril de 2006 06:34, Bruce Dubbs escribió:
> 
>> +echo -n "Coreutils: "; chown --version | head -n1 | cut -d" " -f4
> 
> In my system:
> 
> [EMAIL PROTECTED]:~$ chown --version | head -n1 | cut -d" " -f4
> 
> [EMAIL PROTECTED]:~$ chown --version | head -n1 | cut -d" " -f3
> 5.2.1
> 
> 
> Is that a bug in the version-check.sh script or depend on the Coreutils 
> installed version?

Yeah, it does.  On my system:

$ chown --version | head -n1
chown (GNU coreutils) 5.93

On a RH9 system

$ chown --version | head -n1
chown (coreutils) 4.5.3

I suppose we could use:
chown --version | head -n1 | cut -d")" -f2

  -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to