ALFS shortcomings

M.Canales.es macana at macana-es.com
Fri Sep 14 09:54:29 PDT 2007


El Jueves, 13 de Septiembre de 2007 21:04, Dan Nicholson escribió:

> Manuel, this one is actually not that hard to fix, so long as we
> believe the last field is always the version number. Instead of
> hardcoding the field number with cut, just use the last field with
> awk.
>
> $ grep --version | head -n1 | awk '{print $NF}'
> 2.5.1

Changed, thanks.

-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info
TLDP-ES:                           http://es.tldp.org



More information about the alfs-discuss mailing list