[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #44768] gdiffmk(1) is not Solaris 10 /bin/sh compatible - PATCH pro

From: Peter Bray
Subject: [bug #44768] gdiffmk(1) is not Solaris 10 /bin/sh compatible - PATCH provided
Date: Tue, 14 Apr 2015 02:13:37 +0000
User-agent: Mozilla/5.0 (X11; SunOS i86pc; rv:29.0) Gecko/20100101 Firefox/29.0

Follow-up Comment #12, bug #44768 (project groff):


I think the best and most portable approach would be to have the autoconf
infrastructure find and substitute in appropriate default values for DIFFCMD
and SEDCMD via address@hidden@ and address@hidden@, I know that is how grep(1) 
egrep(1) is handled by the groff project currently.

My guess is that we would need to add something to configure.ac, and maybe a
makefile to make this happen.

The reason is that, not all platforms (including Solaris 10) have GNU
implementations of these commands (the Solaris 10 case), or implementations
called "diff" and "sed" (my case, where I compile and install them with a "g"
program prefix), so modifying the PATH won't help.

The #! line could be treated similarly, with an @BASH@, or just as you suggest
#!/bin/bash, and as you say that fixes so many other issues!

Re: Authorship I'll say no :-)


PS: I watched the UNIX wars, from a far, I was not aware of the PWB Shell
(other PWB tools, yes, indirectly) and the earlier Shell Wars. Many thanks, I
have some additional reading to do. But its not even close to being there,
lucky you! And I agree, our education continues, its one of the great things
about computing, but especially UNIX, you never stop learning!


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]