jhalfs: Ready to go.

David Fix otqzyrn02 at sneakemail.com
Fri Oct 14 10:52:13 PDT 2005


lfs-dev-bounces at linuxfromscratch.org 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




More information about the lfs-dev mailing list