El Viernes, 14 de Octubre de 2005 15:36, David Fix escribió:

> Sorry, a bit of a typo, but this is "more" correct:
>
> if [ ${i: -5} = "groff" ] ; then {do something} ; fi
>

That sounds good and is more portable for when supporting Cross-LFS.

I will test it soon, many 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.com
TLDP-ES:                           http://es.tldp.org
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to