From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 23 Oct 2009 09:06:45 -0500 Message-ID: From: Jason Catena To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] Two suggestions for ape (was: egrep for Plan9) Topicbox-Message-UUID: 8e3d95f2-ead5-11e9-9d60-3106f5b1d025 Dimitry wrote: > I have two suggestions for ape minor additions arising from my recent > attempts to run configure scripts on Plan9 > > These things are needed by autoconf. > > Looks like these > things are hardwired in the autoconf macro library. Since autoconf should deal with "any" unixy environment in which it finds itself (that's supposed to be what it does for a living), shouldn't it be patched to deal with a lack of POSIX grep's -E and POSIX ls' -i? In general, as a porting tool, it should not make demands on the host system for the presence of egrep, or options are defined by GNU tools (or even POSIX). Making such demands places arbitrary limits on how portable the gnu tools are, or any tools using autoconf. (Given the FSF's philosophy, this may be intentional.) POSIX-ls has 23 options to Plan9-ls' 12. I can't imagine that we'd add in all the remaining options of ls just because some program or another uses them. egrep has 42 options to POSIX-grep's 11 options to Plan9-grep's different 11. I can't imagine that we'd change around the meaning of the 11 options to suit POSIX, let alone add in the extra ones of egrep. Take all this with a grain of salt, because I don't speak for any distribution. :) > Dimitry Golubovsky Jason Catena