Re: cmp/diff

2020-12-26 Thread Alfred M. Szmidt
On 12/26/20 4:07 PM, Alfred M. Szmidt wrote: > install-info does not have an replacement, like say egrep/fgrep -- > this is how we install a dir entry for a info manual. Removing > install-info would be a regression. In practice, GNU installation procedures use install-info in th

Re: cmp/diff

2020-12-26 Thread Paul Eggert
On 12/26/20 4:07 PM, Alfred M. Szmidt wrote: install-info does not have an replacement, like say egrep/fgrep -- this is how we install a dir entry for a info manual. Removing install-info would be a regression. In practice, GNU installation procedures use install-info in the way that's descri

Re: cmp/diff

2020-12-26 Thread Alfred M. Szmidt
>> Looking at that list now, the only obvious tool to remove is egrep, >> since 'grep -E' subsumes it nowadays. > Yes, I think that should be dropped. Maybe from usage in scripts or Makefile, but from a users point these do not replace "grep -E" or "grep -F" which are far more annoying to

Re: cmp/diff

2020-12-26 Thread Alfred M. Szmidt
> What about 'install-info'? It is quite GNU-specific. Nothing in > gnulib appears to refer to it (except for the make-stds manual..). install-info is specific to GNU yes, the GNU standards are for the GNU system and GNU project after all. install-info does not have an replacement, like s

Re: cmp/diff

2020-12-26 Thread Paul Eggert
On 12/26/20 1:55 PM, Simon Josefsson wrote: Looking at that list now, the only obvious tool to remove is egrep, since 'grep -E' subsumes it nowadays. Yes, I think that should be dropped. What about 'install-info'? It is quite GNU-specific. Nothing in gnulib appears to refer to it (except for

Re: cmp/diff

2020-12-26 Thread Simon Josefsson via Gnulib discussion list
lör 2020-12-26 klockan 11:12 -0800 skrev Paul Eggert: > On 12/26/20 10:49 AM, Bruno Haible wrote: > > > It would be nice to reduce that set of tools. > > Well, both 'cmp' and 'diff' are part of POSIX: > > Even awk is on that list, and it's much fancier than cmp or diff. And > I wouldn't support re

Re: cmp/diff

2020-12-26 Thread Paul Smith
On Sat, 2020-12-26 at 19:49 +0100, Bruno Haible wrote: > Makefile rules are written both for automated execution and for the > developers of a package. While for the automated execution of a unit > test, "cmp expected.out actual.out" is sufficient, for a developer, > "diff expected.out actual.out"

Re: cmp/diff

2020-12-26 Thread Paul Eggert
On 12/26/20 10:49 AM, Bruno Haible wrote: It would be nice to reduce that set of tools. Well, both 'cmp' and 'diff' are part of POSIX: Even awk is on that list, and it's much fancier than cmp or diff. And I wouldn't support removing awk either, as it's a handy tool in Makefiles when the shel

Re: cmp/diff

2020-12-26 Thread Bruno Haible
Hi Simon, > > 'cmp' and 'diff' are among the programs that a 'configure' script and a > > Makefile > > can assume to be present, see the GNU Coding Standards > > . > > Hi Bruno. Thanks for the pointer! I believe this res

Re: cmp/diff

2020-12-26 Thread Simon Josefsson via Gnulib discussion list
Bruno Haible writes: > Hi Simon, > >> Essentialy it boils down to: >> >> ../../gltests/test-binary-io.sh: line 8: cmp: command not found >> test-init.sh: failed test: err not empty: ../../gltests/init.sh: >> line 648: cmp: command not found >> ../../gltests/test-perror.sh: line 14: diff: command

Re: cmp/diff

2020-12-26 Thread Bruno Haible
d 'cmp' and 'diff' are among the programs that a 'configure' script and a Makefile can assume to be present, see the GNU Coding Standards <https://www.gnu.org/prep/standards/html_node/Utilities-in-Makefiles.html>. > What do you think about rewriting these self-t

cmp/diff

2020-12-26 Thread Simon Josefsson via Gnulib discussion list
: command not found test-init.sh: failed test: err not empty: ../../gltests/init.sh: line 648: cmp: command not found ../../gltests/test-perror.sh: line 14: diff: command not found I was a little surprised ArchLinux do not have cmp/diff by default, but I was surprised that nothing except these