Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #71472

Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without

From Nuno Silva <nunojsilva@invalid.invalid>
Newsgroups comp.os.linux.misc
Subject Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without
Date 2025-08-17 09:02 +0100
Organization A noiseless patient Spider
Message-ID <107s2a0$25lfa$1@dont-email.me> (permalink)
References (1 earlier) <TM5nQ.13662$Ti33.5629@fx13.iad> <68a04246$0$24825$426a74cc@news.free.fr> <107qijt$1rj1g$4@dont-email.me> <wwvjz333ql5.fsf@LkoBDZeT.terraraq.uk> <107r8la$20k71$7@dont-email.me>

Show all headers | View raw


On 2025-08-17, Lawrence D’Oliveiro wrote:

> On Sat, 16 Aug 2025 22:27:02 +0100, Richard Kettlewell wrote:
>
>> (Although agreed that neither are sensible options for human
>> consumption.)
>
> I remember many decades ago one or two open-source projects specifying 
> that they wanted patches supplied in context-diff format. Nowadays 
> unified-diff is just about universal.
>
> I had to recheck “info diff” (the man page being insufficient in this 
> case) to refresh my memory of what context-diff looked like; I would agree 
> with the vast majority of open-source software developers, that unified-
> diff is preferable.

It's nice to have both formats (besides the others; and also, unified
output can be configured to have even more lines of context).

While unified output is usually convenient because of the context, there
will be times where I really just want the changes (i.e. when the
context *is* visual clutter), then the default output of GNU diff suits
me better.


BTW, is it just lack of coffee or both the online manual page and the
GNU info manual section for GNU diff do not explain/specify the default
output format? (Compare with IEEE 1003.1 [1].)

[1] https://pubs.opengroup.org/onlinepubs/9799919799/utilities/diff.html

-- 
Nuno Silva

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-08-16 08:33 +0000
  Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Rich <rich@example.invalid> - 2025-08-16 18:28 +0000
    Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2025-08-16 19:05 +0000
      Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without The Natural Philosopher <tnp@invalid.invalid> - 2025-08-16 21:08 +0100
      Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-08-16 20:38 +0000
        Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-17 00:38 +0000
          Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Nuno Silva <nunojsilva@invalid.invalid> - 2025-08-17 09:08 +0100
          Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-08-17 09:16 +0000
            Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-17 22:27 +0000
    Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Richard Kettlewell <invalid@invalid.invalid> - 2025-08-16 22:27 +0100
      Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-17 00:44 +0000
        Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Nuno Silva <nunojsilva@invalid.invalid> - 2025-08-17 09:02 +0100
          Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Richard Kettlewell <invalid@invalid.invalid> - 2025-08-18 08:31 +0100
            Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-18 08:21 +0000
            Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Nuno Silva <nunojsilva@invalid.invalid> - 2025-08-22 10:18 +0100
    Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without "Carlos E.R." <robin_listas@es.invalid> - 2025-08-19 12:06 +0200
      Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-20 00:50 +0000
        Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without "Carlos E.R." <robin_listas@es.invalid> - 2025-08-20 12:20 +0200
          Re: I’m A Linux Expert, And Here Are 6 Commands I Can’t Live Without Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-20 22:16 +0000

csiph-web