[EMAIL PROTECTED] wrote:
> 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 :-)
You bet. :) Just remember to change the -5 to whatever the length of the
command is that you're checking against. :)
Dave
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page