On 06/17/2012 09:05 AM, Akim Demaille wrote:
> 
> Le 16 juin 2012 à 23:30, Stefano Lattarini a écrit :
> 
>> +cat > three.texi << 'END'
>> +@node three
>> +@chapter Chapter two
>> +Gnu's Not Unix.
> 
> It should read GNU.
>
We're pedantic today, eh?  ;-)

Fixed.

>> +END
>> +
>> +mkdir sub
>> +
>> +cat > sub/more.texi << 'END'
>> +\input texinfo
>> +@setfilename more.info
>> +@settitle main
>> +@ifnottex
>> +@node Top
>> +@top GNU more.
>> +@menu
>> +* desc:: Description of this program
>> +* hist:: History of this program
> 
> Good idea, when will you do it? :)
>
>> +get_info_names ()
>> +{
>> +  find ${1-.} -type f | grep '\.info$' | LC_ALL=C sort > got
> 
> Can't you use -name '*.info'?
>
I was somehow convinced '-name' was unportable, but since it works
with Solaris /usr/bin/find, it must work on ever system worth
supporting.  So The above now reads:

    find ${1-.} -type f -name '*.info' | LC_ALL=C sort > got

Thanks,
  Stefano

Reply via email to