X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Date: Sun, 13 Nov 2011 20:15:02 +0200 From: Eli Zaretskii Subject: Re: which: command not found In-reply-to: <87aa7zapba.fsf@violet.siamics.net> To: djgpp AT delorie DOT com Message-id: <837h33ga8p.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 X-012-Sender: halo1 AT inter DOT net DOT il References: <0e66e1f9-6a85-4af8-94b1-2ac490eaf4c2 AT m19g2000vbm DOT googlegroups DOT com> <4349b255-f8ba-4e1d-93b9-488b173373a9 AT g7g2000vbv DOT googlegroups DOT com> <83bosqjn0u DOT fsf AT gnu DOT org> <87aa7zapba DOT fsf AT violet DOT siamics DOT net> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id pADIH2cI002925 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Ivan Shmakov > Date: Mon, 14 Nov 2011 00:46:01 +0700 > > > Alas, many GNU packages abandoned every portability guideline in the > > book long ago. Most of the maintainers behave as if GNU/Linux is the > > only system in the world worth catering to. > > > Just the last week, I needed to craft my own version of `mktemp' > > because the Texinfo test suite used it. `mktemp' is part of GNU > > Coreutils, > > Though it was added somewhat recently: > > - --cut: coreutils-8.5/NEWS -- > * Noteworthy changes in release 6.9.90 (2007-12-01) [beta] > > ** New programs > > … > > mktemp: create a temporary file or directory (or names) > - --cut: coreutils-8.5/NEWS -- That's my point: you need GNU Coreutils to be able to run a test suite of an entirely unrelated package. > > And that's just an example, of which I saw too many in the recent > > years. > > Well, supporting a single system preasumably requires less > effort than supporting many. On the other hand, I doubt that > there's a free software package whose maintainers will oppose > any volunteers' effort to improve portability. > > If seen this way, it appears that it's the lack of such > volunteers that makes software non-portable. How hard is it to create a temporary file/directory in a shell script? Why does that need a volunteer?