• =?UTF-8?B?SeKAmW0=?= A Linux Expert, And Here Are 6 Commands I =?UTF-8?

    From Lawrence D'Oliveiro@21:1/5 to All on Wed Aug 13 01:16:20 2025
    <https://www.zdnet.com/article/im-a-linux-expert-and-here-are-6-commands-i-cant-live-without/>

    What’s an obvious omission from his list? To me, it’s the “find” command. I have millions of files on my main machine (quite literally,
    I would say), and it is the most convenient and powerful way of
    finding something I might have worked on years ago, and mostly
    forgotten about since then.

    (Which is a lot of things.)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Lawrence D'Oliveiro on Wed Aug 13 02:40:11 2025
    On Wed, 13 Aug 2025 01:16:20 -0000 (UTC), Lawrence D'Oliveiro wrote:

    <https://www.zdnet.com/article/im-a-linux-expert-and-here-are-6-
    commands-i-cant-live-without/>

    What’s an obvious omission from his list? To me, it’s the “find” command. I have millions of files on my main machine (quite literally,
    I would say), and it is the most convenient and powerful way of finding something I might have worked on years ago, and mostly forgotten about
    since then.

    It's very annoying when I have a senior moment and try to use find on a
    Windows box. While I have ls, grep, cat, and so forth 'find' finds the
    lame Windows command. I suppose I should fix that.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to rbowman on Wed Aug 13 08:57:22 2025
    rbowman wrote this post while blinking in Morse code:

    On Wed, 13 Aug 2025 01:16:20 -0000 (UTC), Lawrence D'Oliveiro wrote:

    <https://www.zdnet.com/article/im-a-linux-expert-and-here-are-6-
    commands-i-cant-live-without/>

    What’s an obvious omission from his list? To me, it’s the “find”
    command. I have millions of files on my main machine (quite literally,
    I would say), and it is the most convenient and powerful way of finding
    something I might have worked on years ago, and mostly forgotten about
    since then.

    It's very annoying when I have a senior moment and try to use find on a Windows box. While I have ls, grep, cat, and so forth 'find' finds the
    lame Windows command. I suppose I should fix that.

    Git Bash?

    --
    I realize that today you have a number of top female athletes such as
    Martina Navratilova who can run like deer and bench-press Chevrolet
    trucks. But to be brutally frank, women as a group have a long way to
    go before they reach the level of intensity and dedication to sports
    that enables men to be such incredible jerks about it.
    -- Dave Barry, "Sports is a Drag"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Lawrence D'Oliveiro on Wed Aug 13 08:53:24 2025
    Lawrence D'Oliveiro wrote this post while blinking in Morse code:

    <https://www.zdnet.com/article/im-a-linux-expert-and-here-are-6-commands-i-cant-live-without/>

    What’s an obvious omission from his list? To me, it’s the “find” command. I have millions of files on my main machine (quite literally,
    I would say), and it is the most convenient and powerful way of
    finding something I might have worked on years ago, and mostly
    forgotten about since then.

    (Which is a lot of things.)

    I use the cdb command from the cdargs package alla time.

    And a lotta other command-line commands mapped to keystrokes.

    But enough about me.

    --
    FORTUNE EXPLAINS WHAT JOB REVIEW CATCH PHRASES MEAN: #9
    has management potential:
    Because of his intimate relationship with inanimate objects, the
    reviewee has been appointed to the critical position of department
    pencil monitor.
    inspirational:
    A true inspiration to others. ("There, but for the grace of God,
    go I.")
    adapts to stress:
    Passes wind, water, or out depending upon the severity of the
    situation.
    goal oriented:
    Continually sets low goals for himself, and usually fails
    to meet them.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jayjwa@21:1/5 to All on Wed Aug 13 11:01:25 2025
    Strange list.
    1. rm
    2. mv
    3. cp
    4. ls
    5. find
    6. locate (because you're not running "find" on /, are you?)

    Should the list continue,
    7. pkill/pgrep
    8. grep
    9. apropos
    10. ip

    --
    PGP Key ID: 781C A3E2 C6ED 70A6 B356 7AF5 B510 542E D460 5CAE
    "The Internet should always be the Wild West!"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E. R.@21:1/5 to jayjwa on Wed Aug 13 17:16:20 2025
    On 2025-08-13 17:01, jayjwa wrote:
    Strange list.
    1. rm
    2. mv
    3. cp
    4. ls
    5. find
    6. locate (because you're not running "find" on /, are you?)

    Should the list continue,
    7. pkill/pgrep
    8. grep
    9. apropos
    10. ip


    less, which is more than more.
    man / info

    --
    Cheers,
    Carlos E.R.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to jayjwa on Wed Aug 13 17:31:53 2025
    On 13/08/2025 16:01, jayjwa wrote:
    Strange list.
    1. rm
    2. mv
    3. cp
    4. ls
    5. find
    6. locate (because you're not running "find" on /, are you?)

    Should the list continue,
    7. pkill/pgrep
    8. grep
    9. apropos
    10. ip


    Crikey.
    1. ls
    2. lsbci
    3. lsblk
    4. find.
    5 ps
    6 grep
    7 top
    8. service


    --
    “Politics is the art of looking for trouble, finding it everywhere, diagnosing it incorrectly and applying the wrong remedies.”
    ― Groucho Marx

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charlie Gibbs@21:1/5 to Lawrence D'Oliveiro on Wed Aug 13 19:34:11 2025
    On 2025-08-13, Lawrence D'Oliveiro <[email protected]d> wrote:

    <https://www.zdnet.com/article/im-a-linux-expert-and-here-are-6-commands-i-cant-live-without/>

    What’s an obvious omission from his list? To me, it’s the “find” command. I have millions of files on my main machine (quite literally,
    I would say), and it is the most convenient and powerful way of
    finding something I might have worked on years ago, and mostly
    forgotten about since then.

    (Which is a lot of things.)

    zip
    unzip
    rsync
    diff
    cmp
    cut
    uniq

    Favourite one-liner:
    grep foo * | cut -d: -f1 | uniq

    How about a list of favourite options to common commands?
    Mine is "ls -ltr", which shows files in chronological order.
    Often I'm looking for a file I worked on recently but can't
    remember its exact name; it shows up near the end of an
    ls -ltr list.

    --
    /~\ Charlie Gibbs | Growth for the sake of
    \ / <[email protected]d> | growth is the ideology
    X I'm really at ac.dekanfrus | of the cancer cell.
    / \ if you read it the right way. | -- Edward Abbey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to jayjwa on Wed Aug 13 20:10:18 2025
    On Wed, 13 Aug 2025 11:01:25 -0400, jayjwa wrote:

    Strange list.
    1. rm 2. mv 3. cp 4. ls 5. find 6. locate (because you're not running
    "find" on /, are you?)

    Should the list continue,
    7. pkill/pgrep 8. grep 9. apropos 10. ip

    11. pushd 12. popd 13. xargs

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Allodoxaphobia@21:1/5 to jayjwa on Wed Aug 13 19:48:58 2025
    On Wed, 13 Aug 2025 11:01:25 -0400, jayjwa wrote:
    Strange list.
    1. rm
    2. mv
    3. cp
    4. ls
    5. find
    6. locate (because you're not running "find" on /, are you?)

    Should the list continue,
    7. pkill/pgrep
    8. grep
    9. apropos
    10. ip

    Don't leave out
    11. <CTL+ALT+SysReq>reisub

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John McCue@21:1/5 to Lawrence D'Oliveiro on Wed Aug 13 21:05:18 2025
    Lawrence D'Oliveiro <[email protected]d> wrote:
    <https://www.zdnet.com/article/im-a-linux-expert-and-here-are-6-commands-i-cant-live-without/>

    What?s an obvious omission from his list? To me, it?s the ?find?
    command. I have millions of files on my main machine (quite literally,
    <snip>

    zdnet, or I like windows magazine, what does one expect :)

    Yes, if someone does not know how to use find(1), they are
    no expert to me.

    With the command chmod u+x filename....

    On some file systems doing that will not give you the
    ability to execute the script. I think he could have
    come up with a much better example. :)


    --
    [t]csh(1) - "An elegant shell, for a more... civilized age."
    - Paraphrasing Star Wars

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to The Natural Philosopher on Wed Aug 13 21:30:10 2025
    On Wed, 13 Aug 2025 17:31:53 +0100, The Natural Philosopher wrote:

    2. lsbci

    You mean “lspci”?

    3. lsblk

    To add more “Ls”-type commands: lscpu, lsfd, lshw, lsipc, lsirq, lslocks, lslogins, lsmem, lsmod, lsusb.

    Also lsar, for listing the contents of archives of a range of formats
    (e.g. zip, tar, 7z) in one command.

    5 ps
    6 grep

    Seeing these two, pgrep also comes to mind.

    8. service

    That’s the old sysvinit-style command. systemctl is much more useful.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E. R.@21:1/5 to Lawrence D'Oliveiro on Wed Aug 13 23:40:20 2025
    On 2025-08-13 23:31, Lawrence D'Oliveiro wrote:
    On Wed, 13 Aug 2025 19:34:11 GMT, Charlie Gibbs wrote:

    How about a list of favourite options to common commands?
    Mine is "ls -ltr", which shows files in chronological order.
    Often I'm looking for a file I worked on recently but can't
    remember its exact name; it shows up near the end of an
    ls -ltr list.

    Or drop the “r” and have it show up near the top.

    The top is out of the screen and not visible.

    --
    Cheers,
    Carlos E.R.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Charlie Gibbs on Wed Aug 13 21:31:18 2025
    On Wed, 13 Aug 2025 19:34:11 GMT, Charlie Gibbs wrote:

    How about a list of favourite options to common commands?
    Mine is "ls -ltr", which shows files in chronological order.
    Often I'm looking for a file I worked on recently but can't
    remember its exact name; it shows up near the end of an
    ls -ltr list.

    Or drop the “r” and have it show up near the top.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Carlos E. R. on Wed Aug 13 23:42:51 2025
    On Wed, 13 Aug 2025 23:40:20 +0200, Carlos E. R. wrote:

    On 2025-08-13 23:31, Lawrence D'Oliveiro wrote:

    On Wed, 13 Aug 2025 19:34:11 GMT, Charlie Gibbs wrote:

    How about a list of favourite options to common commands? Mine is
    "ls -ltr", which shows files in chronological order. Often I'm
    looking for a file I worked on recently but can't remember its
    exact name; it shows up near the end of an ls -ltr list.

    Or drop the “r” and have it show up near the top.

    The top is out of the screen and not visible.

    *nix user 101: figure out at least 3 simple (i.e. routine)
    command-line techniques for dealing with that.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nuno Silva@21:1/5 to Chris Ahlstrom on Thu Aug 14 00:45:49 2025
    On 2025-08-13, Chris Ahlstrom wrote:

    Lawrence D'Oliveiro wrote this post while blinking in Morse code:

    <https://www.zdnet.com/article/im-a-linux-expert-and-here-are-6-commands-i-cant-live-without/>

    What’s an obvious omission from his list? To me, it’s the “find”
    command. I have millions of files on my main machine (quite literally,
    I would say), and it is the most convenient and powerful way of
    finding something I might have worked on years ago, and mostly
    forgotten about since then.

    (Which is a lot of things.)

    I use the cdb command from the cdargs package alla time.

    And a lotta other command-line commands mapped to keystrokes.

    But enough about me.

    (Didn't we have a similar thread a few months ago?
    Possibly based on [1]?)

    Anyway, here go a few:

    - emacs (but this one is going to be quite subjective)

    - tar from BSD (I still haven't memorized the syntax for all the non-tar
    utilities)

    - ed and sed

    - units (especially useful when someone or some source mentions tempF
    temperature values, I'm still only acquainted with tempC)

    [1] https://www.zdnet.com/article/5-fun-linux-commands-you-should-try-at-least-once/

    --
    Nuno Silva

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Lawrence D'Oliveiro on Thu Aug 14 01:08:00 2025
    On Wed, 13 Aug 2025 23:42:51 -0000 (UTC), Lawrence D'Oliveiro wrote:

    On Wed, 13 Aug 2025 23:40:20 +0200, Carlos E. R. wrote:

    On 2025-08-13 23:31, Lawrence D'Oliveiro wrote:

    On Wed, 13 Aug 2025 19:34:11 GMT, Charlie Gibbs wrote:

    How about a list of favourite options to common commands? Mine is "ls
    -ltr", which shows files in chronological order. Often I'm looking
    for a file I worked on recently but can't remember its exact name; it
    shows up near the end of an ls -ltr list.

    Or drop the “r” and have it show up near the top.

    The top is out of the screen and not visible.

    *nix user 101: figure out at least 3 simple (i.e. routine)
    command-line techniques for dealing with that.

    ls -lrt | less

    less also adds the search functions which can be handy.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Charlie Gibbs on Thu Aug 14 01:05:59 2025
    On Wed, 13 Aug 2025 19:34:11 GMT, Charlie Gibbs wrote:

    How about a list of favourite options to common commands? Mine is "ls
    -ltr", which shows files in chronological order.
    Often I'm looking for a file I worked on recently but can't remember its exact name; it shows up near the end of an ls -ltr list.

    I prefer 'ls -lrt' :)

    find . -name "*.c" | xargs grep -i SomeFunction

    When I use tcsh I had a more elegant version but bash requires writing
    little functions for things like that. I switched to bash when all the
    Linux distros went that way but never became very proficient in
    crafting .bashrc files.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Nuno Silva on Thu Aug 14 01:09:09 2025
    On Thu, 14 Aug 2025 00:45:49 +0100, Nuno Silva wrote:

    - emacs (but this one is going to be quite subjective)

    Extremely. I can play chords on a banjo but not a keyboard.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charlie Gibbs@21:1/5 to Carlos E. R. on Thu Aug 14 01:30:35 2025
    On 2025-08-13, Carlos E. R. <[email protected]d> wrote:

    On 2025-08-13 23:31, Lawrence D'Oliveiro wrote:

    On Wed, 13 Aug 2025 19:34:11 GMT, Charlie Gibbs wrote:

    How about a list of favourite options to common commands?
    Mine is "ls -ltr", which shows files in chronological order.
    Often I'm looking for a file I worked on recently but can't
    remember its exact name; it shows up near the end of an
    ls -ltr list.

    Or drop the “r” and have it show up near the top.

    The top is out of the screen and not visible.

    'zackly.

    --
    /~\ Charlie Gibbs | Growth for the sake of
    \ / <[email protected]d> | growth is the ideology
    X I'm really at ac.dekanfrus | of the cancer cell.
    / \ if you read it the right way. | -- Edward Abbey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E. R.@21:1/5 to Lawrence D'Oliveiro on Thu Aug 14 10:51:13 2025
    On 2025-08-14 01:42, Lawrence D'Oliveiro wrote:
    On Wed, 13 Aug 2025 23:40:20 +0200, Carlos E. R. wrote:

    On 2025-08-13 23:31, Lawrence D'Oliveiro wrote:

    On Wed, 13 Aug 2025 19:34:11 GMT, Charlie Gibbs wrote:

    How about a list of favourite options to common commands? Mine is
    "ls -ltr", which shows files in chronological order. Often I'm
    looking for a file I worked on recently but can't remember its
    exact name; it shows up near the end of an ls -ltr list.

    Or drop the “r” and have it show up near the top.

    The top is out of the screen and not visible.

    *nix user 101: figure out at least 3 simple (i.e. routine)
    command-line techniques for dealing with that.

    And so more typing.

    --
    Cheers,
    Carlos E.R.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Carlos E. R. on Thu Aug 14 08:53:06 2025
    On Thu, 14 Aug 2025 10:51:13 +0200, Carlos E. R. wrote:

    On 2025-08-14 01:42, Lawrence D'Oliveiro wrote:

    On Wed, 13 Aug 2025 23:40:20 +0200, Carlos E. R. wrote:

    On 2025-08-13 23:31, Lawrence D'Oliveiro wrote:

    On Wed, 13 Aug 2025 19:34:11 GMT, Charlie Gibbs wrote:

    How about a list of favourite options to common commands? Mine
    is "ls -ltr", which shows files in chronological order. Often
    I'm looking for a file I worked on recently but can't remember
    its exact name; it shows up near the end of an ls -ltr list.

    Or drop the “r” and have it show up near the top.

    The top is out of the screen and not visible.

    *nix user 101: figure out at least 3 simple (i.e. routine)
    command-line techniques for dealing with that.

    And so more typing.

    Less then the keystrokes you wasted telling me that.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Anssi Saari@21:1/5 to Lawrence D'Oliveiro on Thu Aug 14 14:50:06 2025
    Lawrence D'Oliveiro <[email protected]d> writes:

    <https://www.zdnet.com/article/im-a-linux-expert-and-here-are-6-commands-i-cant-live-without/>

    What’s an obvious omission from his list? To me, it’s the “find” command.

    Possibly or something like it. I just started looking into rawhide which
    is another search tool. My interest is rawhide's ability to search for
    tags in extended attributes. I've started adding tags to videos and
    photos so I can search for those with rawhide.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jason H@21:1/5 to rbowman on Thu Aug 14 21:05:26 2025
    On 13/08/2025 03:40, rbowman wrote:
    On Wed, 13 Aug 2025 01:16:20 -0000 (UTC), Lawrence D'Oliveiro wrote:

    <https://www.zdnet.com/article/im-a-linux-expert-and-here-are-6- >commands-i-cant-live-without/>

    What’s an obvious omission from his list? To me, it’s the “find”
    command. I have millions of files on my main machine (quite literally,
    I would say), and it is the most convenient and powerful way of finding
    something I might have worked on years ago, and mostly forgotten about
    since then.

    It's very annoying when I have a senior moment and try to use find on a >Windows box. While I have ls, grep, cat, and so forth 'find' finds the
    lame Windows command. I suppose I should fix that.

    Some of the PowerShell equivalents of basic Unix commands are hilariously
    long winded.

    --
    --
    A PICKER OF UNCONSIDERED TRIFLES

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jason H@21:1/5 to Lawrence D'Oliveiro on Thu Aug 14 21:07:49 2025
    On 13/08/2025 02:16, Lawrence D'Oliveiro wrote: ><https://www.zdnet.com/article/im-a-linux-expert-and-here-are-6-commands-i-cant-live-without/>

    What’s an obvious omission from his list? To me, it’s the “find” >command. I have millions of files on my main machine (quite literally,
    I would say), and it is the most convenient and powerful way of
    finding something I might have worked on years ago, and mostly
    forgotten about since then.

    (Which is a lot of things.)

    Things like sed, vim, awk and ex for me.

    --
    --
    A PICKER OF UNCONSIDERED TRIFLES

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Anssi Saari on Thu Aug 14 22:45:40 2025
    On Thu, 14 Aug 2025 14:50:06 +0300, Anssi Saari wrote:

    Lawrence D'Oliveiro <[email protected]d> writes:

    What’s an obvious omission from his list? To me, it’s the “find”
    command.

    Possibly or something like it. I just started looking into rawhide which
    is another search tool. My interest is rawhide's ability to search for
    tags in extended attributes. I've started adding tags to videos and
    photos so I can search for those with rawhide.

    The “find” command has the ability to execute external commands. Those can produce output on their own, and/or their success/failure exit status can
    be used as a filter on matching files.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rene Kita@21:1/5 to Charlie Gibbs on Fri Aug 15 04:55:04 2025
    Charlie Gibbs <[email protected]d> wrote:
    On 2025-08-13, Lawrence D'Oliveiro <[email protected]d> wrote:

    <https://www.zdnet.com/article/im-a-linux-expert-and-here-are-6-commands-i-cant-live-without/>

    [...]

    zip
    unzip
    rsync
    diff
    cmp
    cut
    uniq

    Favourite one-liner:
    grep foo * | cut -d: -f1 | uniq

    Why not 'grep -l foo *'?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence =?iso-8859-13?q?D=FFOlivei@21:1/5 to Rene Kita on Fri Aug 15 05:38:47 2025
    On Fri, 15 Aug 2025 04:55:04 -0000 (UTC), Rene Kita wrote:

    Charlie Gibbs <[email protected]d> wrote:

    Favourite one-liner:
    grep foo * | cut -d: -f1 | uniq

    Why not 'grep -l foo *'?

    To “UUOC” (“Useless Use Of Cat”), we can add a new category: How about “UUOCP” (“Useless Use Of Complicated Pipelines”)?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Jason H on Fri Aug 15 08:37:40 2025
    On Thu, 14 Aug 2025 21:05:26 -0000 (UTC), Jason H wrote:

    On 13/08/2025 03:40, rbowman wrote:
    On Wed, 13 Aug 2025 01:16:20 -0000 (UTC), Lawrence D'Oliveiro wrote:

    <https://www.zdnet.com/article/im-a-linux-expert-and-here-are-6- >>commands-i-cant-live-without/>

    What’s an obvious omission from his list? To me, it’s the “find” >>> command. I have millions of files on my main machine (quite literally,
    I would say), and it is the most convenient and powerful way of
    finding something I might have worked on years ago, and mostly
    forgotten about since then.

    It's very annoying when I have a senior moment and try to use find on a >>Windows box. While I have ls, grep, cat, and so forth 'find' finds the
    lame Windows command. I suppose I should fix that.

    Some of the PowerShell equivalents of basic Unix commands are
    hilariously
    long winded.

    My use of PowerShell has mostly been a cut'n'paste of long, arcane
    commands that I had no idea how they worked.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charlie Gibbs@21:1/5 to John Ames on Fri Aug 15 18:26:49 2025
    On 2025-08-15, John Ames <[email protected]> wrote:

    On 15 Aug 2025 08:37:40 GMT
    rbowman <[email protected]> wrote:

    My use of PowerShell has mostly been a cut'n'paste of long, arcane
    commands that I had no idea how they worked.

    The funny part is that the commands and options are incredibly verbose
    to the point where it's fairly straightforward to figure them out...

    Omigod, they've re-invented COBOL!

    ...except that actually discovering what the commands *are* (and which esoteric namespace you have to import to use them) is a quest worthy of Mallory or Tolkien and involves slogging through a morass of Spiceworks threads and defunct MSDN links with the aid of a search engine and/or
    the Internet Archive :/

    I knew I could count on M$ to screw it up. Yet again.

    --
    /~\ Charlie Gibbs | Growth for the sake of
    \ / <[email protected]d> | growth is the ideology
    X I'm really at ac.dekanfrus | of the cancer cell.
    / \ if you read it the right way. | -- Edward Abbey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence =?iso-8859-13?q?D=FFOlivei@21:1/5 to Charlie Gibbs on Fri Aug 15 22:37:52 2025
    On Fri, 15 Aug 2025 18:26:49 GMT, Charlie Gibbs wrote:

    On 2025-08-15, John Ames <[email protected]> wrote:

    The funny part is that the commands and options are incredibly verbose
    to the point where it's fairly straightforward to figure them out...

    Omigod, they've re-invented COBOL!

    ...except that actually discovering what the commands *are* (and which
    esoteric namespace you have to import to use them) is a quest worthy of
    Mallory or Tolkien and involves slogging through a morass of Spiceworks
    threads and defunct MSDN links with the aid of a search engine and/or
    the Internet Archive :/

    I knew I could count on M$ to screw it up. Yet again.

    Microsoft spent years, decades, conditioning its users to be allergic to
    the command line. Now it has done a complete 180°, and is trying to make Windows more like Linux.

    Trouble is, PowerShell is not exactly an improvement on what has gone
    before.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to Lawrence D'Oliveiro on Sat Aug 16 00:20:08 2025
    Lawrence D'Oliveiro <[email protected]d> wrote at 22:45 this Thursday (GMT):
    On Thu, 14 Aug 2025 14:50:06 +0300, Anssi Saari wrote:

    Lawrence D'Oliveiro <[email protected]d> writes:

    What’s an obvious omission from his list? To me, it’s the “find” >>> command.

    Possibly or something like it. I just started looking into rawhide which
    is another search tool. My interest is rawhide's ability to search for
    tags in extended attributes. I've started adding tags to videos and
    photos so I can search for those with rawhide.

    The “find” command has the ability to execute external commands. Those can
    produce output on their own, and/or their success/failure exit status can
    be used as a filter on matching files.


    To be fair, "find" can be a bit of a rabbithole to learn. I personally
    only know the basics of -name, -iname, and -type.
    --
    user <candycane> is generated from /dev/urandom

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charlie Gibbs@21:1/5 to [email protected] on Sat Aug 16 00:43:12 2025
    On 2025-08-15, Lawrence D’Oliveiro <[email protected]d> wrote:

    On Fri, 15 Aug 2025 18:26:49 GMT, Charlie Gibbs wrote:

    On 2025-08-15, John Ames <[email protected]> wrote:

    The funny part is that the commands and options are incredibly verbose
    to the point where it's fairly straightforward to figure them out...

    Omigod, they've re-invented COBOL!

    ...except that actually discovering what the commands *are* (and which
    esoteric namespace you have to import to use them) is a quest worthy of
    Mallory or Tolkien and involves slogging through a morass of Spiceworks
    threads and defunct MSDN links with the aid of a search engine and/or
    the Internet Archive :/

    I knew I could count on M$ to screw it up. Yet again.

    Microsoft spent years, decades, conditioning its users to be allergic to
    the command line. Now it has done a complete 180°, and is trying to make Windows more like Linux.

    Trouble is, PowerShell is not exactly an improvement on what has gone
    before.

    True - but Microsoft has also spent years, decades, conditioning its
    users to accept crappy results.

    --
    /~\ Charlie Gibbs | Growth for the sake of
    \ / <[email protected]d> | growth is the ideology
    X I'm really at ac.dekanfrus | of the cancer cell.
    / \ if you read it the right way. | -- Edward Abbey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence =?iso-8859-13?q?D=FFOlivei@21:1/5 to Charlie Gibbs on Sat Aug 16 02:10:18 2025
    On Sat, 16 Aug 2025 00:43:12 GMT, Charlie Gibbs wrote:

    Microsoft has also spent years, decades, conditioning its
    users to accept crappy results.

    Don’t we know it. We see it practically every day, here in the Linux
    groups: Windows users curious about Linux, who take default GUI
    installations as somehow the only option for look-and-feel on a
    particular distro, is one all-too-common example.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence =?iso-8859-13?q?D=FFOlivei@21:1/5 to All on Sat Aug 16 02:07:45 2025
    On Sat, 16 Aug 2025 00:20:08 -0000 (UTC), candycanearter07 wrote:

    Lawrence D'Oliveiro <[email protected]d> wrote at 22:45 this Thursday (GMT):

    The “find” command has the ability to execute external commands.
    Those can produce output on their own, and/or their success/failure
    exit status can be used as a filter on matching files.

    To be fair, "find" can be a bit of a rabbithole to learn.

    The term for that is “deep” software: it doesn’t scare you with a
    whole lot of complexity up front. Instead, it offers some initial
    features that aren’t that hard to use, but the more you dig beneath
    the surface, the more capabilities you find. This is why it’s good
    that the man page is always handy: you can keep going back to it and discovering new things as you need them.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIE@21:1/5 to All on Sat Aug 16 08:27:05 2025
    Le 13-08-2025, Carlos E. R. <[email protected]d> a écrit :
    On 2025-08-13 17:01, jayjwa wrote:
    Strange list.
    1. rm
    2. mv
    3. cp
    4. ls
    5. find
    6. locate (because you're not running "find" on /, are you?)

    Should the list continue,
    7. pkill/pgrep
    8. grep
    9. apropos
    10. ip


    less, which is more than more.
    man / info

    And most is at the same time more than less and more. But I'd rather use
    bat now. It was an improvement of cat but it can handle long files, so
    I'm using it even for things I used less before.

    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence =?iso-8859-13?q?D=FFOlivei@21:1/5 to All on Sat Aug 16 08:32:01 2025
    On 16 Aug 2025 08:27:05 GMT, Stéphane CARPENTIER wrote:

    Le 13-08-2025, Carlos E. R. <[email protected]d> a écrit :

    less, which is more than more.

    And most is at the same time more than less and more.

    I prefer “less”; I don’t know why distros don’t just get rid of “more” and
    substitute an alias or symlink to “less”.

    Only two things I don’t like about the default settings with “less”: it clears the screen on exit, and it does case-sensitive searches. The
    following two lines in my ~/.bashrc

    export PAGER='less -iX -x4'
    alias more="$PAGER"

    fix all that.

    (The “-x4” is for looking at my older source files from when I used to use tabs instead of spaces.)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIE@21:1/5 to All on Sat Aug 16 08:33:10 2025
    Le 13-08-2025, Charlie Gibbs <[email protected]d> a écrit :
    On 2025-08-13, Lawrence D'Oliveiro <[email protected]d> wrote:

    <https://www.zdnet.com/article/im-a-linux-expert-and-here-are-6-commands-i-cant-live-without/>

    What’s an obvious omission from his list? To me, it’s the “find”
    command. I have millions of files on my main machine (quite literally,
    I would say), and it is the most convenient and powerful way of
    finding something I might have worked on years ago, and mostly
    forgotten about since then.

    (Which is a lot of things.)

    zip
    unzip
    rsync
    diff

    I never use "diff". I really don't like the way it's displayed. I'm using "vimdiff" or "nvim -d" a lot, because at the same time it's easier to
    see what I want and it's easier to make the right changes.

    cmp
    cut
    uniq

    Favourite one-liner:
    grep foo * | cut -d: -f1 | uniq

    Without sorting before the uniq command, I'd say you have to be pretty
    sure about your files.

    How about a list of favourite options to common commands?
    Mine is "ls -ltr", which shows files in chronological order.
    Often I'm looking for a file I worked on recently but can't
    remember its exact name; it shows up near the end of an
    ls -ltr list.

    I've an alias for "ls -Altr" for the same reason.

    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to All on Sat Aug 16 09:47:13 2025
    On Sat, 16 Aug 2025 00:20:08 -0000 (UTC), candycanearter07 wrote:

    To be fair, "find" can be a bit of a rabbithole to learn. I personally
    only know the basics of -name, -iname, and -type.

    There are many things that are like the trails rabbits make in the grass.
    After pioneering my trails I stick with them because they do what I want
    and don't go exploring.

    I've used Vim for years, have the Vim book, and know I use about 1% of its capabilities. If I stray from my trails, like trying to show line numbers,
    I have to look it up. I know I can do a horizontal split but I only do
    vertical splits so I'd have to look that up too.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charlie Gibbs@21:1/5 to rbowman on Sat Aug 16 17:04:33 2025
    On 2025-08-16, rbowman <[email protected]> wrote:

    I've used Vim for years, have the Vim book, and know I use about 1% of its capabilities. If I stray from my trails, like trying to show line numbers,
    I have to look it up. I know I can do a horizontal split but I only do vertical splits so I'd have to look that up too.

    Occasionally I'll find I have enough use for something to take the
    time to learn it. My most recent one with vim is /\<foo\>, which
    finds "foo" only if it's an entire word (like grep's -w option).

    --
    /~\ Charlie Gibbs | Growth for the sake of
    \ / <[email protected]d> | growth is the ideology
    X I'm really at ac.dekanfrus | of the cancer cell.
    / \ if you read it the right way. | -- Edward Abbey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rich@21:1/5 to [email protected] on Sat Aug 16 18:28:13 2025
    Stéphane CARPENTIER <[email protected]> wrote:
    I never use "diff". I really don't like the way it's displayed. I'm using "vimdiff" or "nvim -d" a lot, because at the same time it's easier to
    see what I want and it's easier to make the right changes.

    diff's default output is an 'ed script' which is not very human
    readable at all.

    The unified output (-u option) provides a 'diff' view that is much more ameniable to being understood by humans.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charlie Gibbs@21:1/5 to Rich on Sat Aug 16 19:05:03 2025
    On 2025-08-16, Rich <[email protected]d> wrote:

    Stéphane CARPENTIER <[email protected]> wrote:

    I never use "diff". I really don't like the way it's displayed. I'm using
    "vimdiff" or "nvim -d" a lot, because at the same time it's easier to
    see what I want and it's easier to make the right changes.

    diff's default output is an 'ed script' which is not very human
    readable at all.

    The unified output (-u option) provides a 'diff' view that is much more ameniable to being understood by humans.

    Horses for courses. I can read the standard diff output just fine.
    Whether I qualify as "human" is open to discussion.

    I wrote a little program called "cmpdir" which compares the contents
    of two directories by doing an ls -lR on both of them (or dir /s in
    the MS-DOS/Windows version), diffing them, and printing the significant differences, interspersed with lines indicating which directory they're
    in. There are probably some command-line options and scripting which
    would do it, but it was faster for me to cobble together some C code.
    --
    /~\ Charlie Gibbs | Growth for the sake of
    \ / <[email protected]d> | growth is the ideology
    X I'm really at ac.dekanfrus | of the cancer cell.
    / \ if you read it the right way. | -- Edward Abbey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Charlie Gibbs on Sat Aug 16 21:08:03 2025
    On 16/08/2025 20:05, Charlie Gibbs wrote:
    There are probably some command-line options and scripting which
    would do it, but it was faster for me to cobble together some C code.

    Amen...
    --
    It’s easier to fool people than to convince them that they have been fooled. Mark Twain

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIE@21:1/5 to All on Sat Aug 16 20:38:51 2025
    Le 16-08-2025, Charlie Gibbs <[email protected]d> a écrit :
    On 2025-08-16, Rich <[email protected]d> wrote:

    Stéphane CARPENTIER <[email protected]> wrote:

    I never use "diff". I really don't like the way it's displayed. I'm using >>> "vimdiff" or "nvim -d" a lot, because at the same time it's easier to
    see what I want and it's easier to make the right changes.

    diff's default output is an 'ed script' which is not very human
    readable at all.

    The unified output (-u option) provides a 'diff' view that is much more
    ameniable to being understood by humans.

    I'm not impressed by the difference.

    Horses for courses. I can read the standard diff output just fine.
    Whether I qualify as "human" is open to discussion.

    I can read the output, too, but I don't see the point. I have vim which
    I find very more useful. Mostly with long files with lot of differences.
    And the bonus with vim is that I can easily change the file to report
    some differences from one file to the other. Which I can't do with diff
    (maybe diff provide the option but I don't know it).

    I wrote a little program called "cmpdir" which compares the contents
    of two directories by doing an ls -lR on both of them (or dir /s in
    the MS-DOS/Windows version), diffing them, and printing the significant differences, interspersed with lines indicating which directory they're
    in. There are probably some command-line options and scripting which
    would do it, but it was faster for me to cobble together some C code.

    I don't need that, but I can understand its usefulness.

    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to Rich on Sat Aug 16 22:27:02 2025
    Rich <[email protected]d> writes:
    Stéphane CARPENTIER <[email protected]> wrote:
    I never use "diff". I really don't like the way it's displayed. I'm using
    "vimdiff" or "nvim -d" a lot, because at the same time it's easier to
    see what I want and it's easier to make the right changes.

    diff's default output is an 'ed script' which is not very human
    readable at all.

    That’s not correct.

    richard@tsais:~$ diff a b
    1c1
    < aaa
    ---
    > bbb
    richard@tsais:~$ diff --ed a b
    1c
    bbb
    .

    (Although agreed that neither are sensible options for human
    consumption.)

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence =?iso-8859-13?q?D=FFOlivei@21:1/5 to All on Sun Aug 17 00:38:11 2025
    On 16 Aug 2025 20:38:51 GMT, Stéphane CARPENTIER wrote:

    On 2025-08-16, Rich <[email protected]d> wrote:

    The unified output (-u option) provides a 'diff' view that is much
    more ameniable to being understood by humans.

    I'm not impressed by the difference.

    By displaying the common lines just once, as surrounding context, the “-u” format provides cues so a tool like patch(1) can find the place in the
    file to substitute the old lines with the new ones. Not relying on strict
    line numbers to find the place is the secret to how patch is (usually)
    able to do its work on a file that already has patches applied from other sources.

    This facility for merging patches from multiple sources is the foundation
    on which open-source development collaboration is built.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence =?iso-8859-13?q?D=FFOlivei@21:1/5 to Richard Kettlewell on Sun Aug 17 00:44:26 2025
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence =?iso-8859-13?q?D=FFOlivei@21:1/5 to Charlie Gibbs on Sun Aug 17 00:45:31 2025
    On Sat, 16 Aug 2025 17:04:33 GMT, Charlie Gibbs wrote:

    On 2025-08-16, rbowman <[email protected]> wrote:

    I've used Vim for years, have the Vim book, and know I use about 1%
    of its capabilities. If I stray from my trails, like trying to show
    line numbers, I have to look it up. I know I can do a horizontal
    split but I only do vertical splits so I'd have to look that up
    too.

    Occasionally I'll find I have enough use for something to take the
    time to learn it. My most recent one with vim is /\<foo\>, which
    finds "foo" only if it's an entire word (like grep's -w option).

    Vim is to text editors what PHP is to programming languages.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to All on Sun Aug 17 07:20:58 2025
    On Sun, 17 Aug 2025 00:45:31 -0000 (UTC), Lawrence D’Oliveiro wrote:

    On Sat, 16 Aug 2025 17:04:33 GMT, Charlie Gibbs wrote:

    On 2025-08-16, rbowman <[email protected]> wrote:

    I've used Vim for years, have the Vim book, and know I use about 1%
    of its capabilities. If I stray from my trails, like trying to show
    line numbers, I have to look it up. I know I can do a horizontal split
    but I only do vertical splits so I'd have to look that up too.

    Occasionally I'll find I have enough use for something to take the time
    to learn it. My most recent one with vim is /\<foo\>, which finds "foo"
    only if it's an entire word (like grep's -w option).

    Vim is to text editors what PHP is to programming languages.

    I likle Vim. I do not like Personal Home Page. That should have stayed
    with Aunt Bea hacking together her website.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Charlie Gibbs on Sun Aug 17 07:18:08 2025
    On Sat, 16 Aug 2025 17:04:33 GMT, Charlie Gibbs wrote:

    On 2025-08-16, rbowman <[email protected]> wrote:

    I've used Vim for years, have the Vim book, and know I use about 1% of
    its capabilities. If I stray from my trails, like trying to show line
    numbers,
    I have to look it up. I know I can do a horizontal split but I only do
    vertical splits so I'd have to look that up too.

    Occasionally I'll find I have enough use for something to take the time
    to learn it. My most recent one with vim is /\<foo\>, which finds "foo"
    only if it's an entire word (like grep's -w option).

    I've used that for a long time. It's an easy one to remember. <Shift>* on
    a word searches for the word. If you look at the bottom you'll see
    /\<printf\> if that's what the * search was. That only seems to work if
    there is more than one.

    else if (strcmp(el, "ele") == 0) {

    If I search on \<ele\> it finds it. Using * says 'search hit BOTTOM,
    continuing at TOP ' In any case it doesn't find last_elevation, ele_text, elevation, min_elevation and so forth that /ele does.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nuno Silva@21:1/5 to All on Sun Aug 17 09:02:08 2025
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nuno Silva@21:1/5 to All on Sun Aug 17 09:08:01 2025
    On 2025-08-17, Lawrence D’Oliveiro wrote:

    On 16 Aug 2025 20:38:51 GMT, Stéphane CARPENTIER wrote:

    On 2025-08-16, Rich <[email protected]d> wrote:

    The unified output (-u option) provides a 'diff' view that is much
    more ameniable to being understood by humans.

    I'm not impressed by the difference.

    By displaying the common lines just once, as surrounding context, the “-u”
    format provides cues so a tool like patch(1) can find the place in the
    file to substitute the old lines with the new ones. Not relying on strict line numbers to find the place is the secret to how patch is (usually)
    able to do its work on a file that already has patches applied from other sources.

    Do you know of papers, reports, or the like about this?

    I'm not doubting your comments, it's just that this sounds like a topic
    which would be interesting to me to read about, if somebody has written
    down that evolution, how it happened, &c..

    This facility for merging patches from multiple sources is the foundation
    on which open-source development collaboration is built.

    --
    Nuno Silva

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIE@21:1/5 to All on Sun Aug 17 09:16:46 2025
    Le 17-08-2025, Lawrence D’Oliveiro <[email protected]d> a écrit :
    On 16 Aug 2025 20:38:51 GMT, Stéphane CARPENTIER wrote:

    On 2025-08-16, Rich <[email protected]d> wrote:

    The unified output (-u option) provides a 'diff' view that is much
    more ameniable to being understood by humans.

    I'm not impressed by the difference.

    By displaying the common lines just once, as surrounding context, the “-u”
    format provides cues so a tool like patch(1) can find the place in the
    file to substitute the old lines with the new ones. Not relying on strict line numbers to find the place is the secret to how patch is (usually)
    able to do its work on a file that already has patches applied from other sources.

    I know what the differences are and what they are for. I mean, It's far
    from enough to make me switch from vimdiff/nvim -d to diff.

    This facility for merging patches from multiple sources is the foundation
    on which open-source development collaboration is built.

    I'm speaking about reading the output. Of course, long ago, sending only patches like that was the easier way. Now, with git, it's done behind
    the hood.

    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence =?iso-8859-13?q?D=FFOlivei@21:1/5 to All on Sun Aug 17 22:27:18 2025
    On 17 Aug 2025 09:16:46 GMT, Stéphane CARPENTIER wrote:

    Le 17-08-2025, Lawrence D’Oliveiro <[email protected]d> a écrit :

    On 16 Aug 2025 20:38:51 GMT, Stéphane CARPENTIER wrote:

    On 2025-08-16, Rich <[email protected]d> wrote:

    The unified output (-u option) provides a 'diff' view that is
    much more ameniable to being understood by humans.

    I'm not impressed by the difference.

    By displaying the common lines just once, as surrounding context,
    the “-u” format provides cues so a tool like patch(1) can find the
    place in the file to substitute the old lines with the new ones.
    Not relying on strict line numbers to find the place is the secret
    to how patch is (usually) able to do its work on a file that
    already has patches applied from other sources.

    I know what the differences are and what they are for. I mean, It's
    far from enough to make me switch from vimdiff/nvim -d to diff.

    What you’ve got there is some kind of in-editor facility for showing differences, which is all very well, but not relevant to the issue of
    patch submission.

    This facility for merging patches from multiple sources is the
    foundation on which open-source development collaboration is built.

    I'm speaking about reading the output. Of course, long ago, sending
    only patches like that was the easier way. Now, with git, it's done
    behind the hood.

    I’m not sure what you mean by “behind the hood”. When you use commands like “git diff”, “git format-patch” and “git apply”, these are all displaying and accepting patches in unified-diff format.

    In short, Git works by subsuming the functionality of patch(1) into
    its very core.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to Nuno Silva on Mon Aug 18 08:31:03 2025
    Nuno Silva <[email protected]d> writes:
    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

    The man page is little more than an option summary. The texinfo manual describes the default output format here:

    https://www.gnu.org/software/diffutils/manual/html_node/Detailed-Normal.html

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence =?iso-8859-13?q?D=FFOlivei@21:1/5 to Richard Kettlewell on Mon Aug 18 08:21:50 2025
    On Mon, 18 Aug 2025 08:31:03 +0100, Richard Kettlewell wrote:

    On Sun, 17 Aug 2025 00:44:26 -0000 (UTC), Lawrence D’Oliveiro wrote:

    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.

    The man page is little more than an option summary. The texinfo
    manual describes the default output format here:

    https://www.gnu.org/software/diffutils/manual/html_node/Detailed-Normal.html

    So I noticed.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to Rich on Tue Aug 19 12:06:04 2025
    On 2025-08-16 20:28, Rich wrote:
    Stéphane CARPENTIER <[email protected]> wrote:
    I never use "diff". I really don't like the way it's displayed. I'm using
    "vimdiff" or "nvim -d" a lot, because at the same time it's easier to
    see what I want and it's easier to make the right changes.

    diff's default output is an 'ed script' which is not very human
    readable at all.

    The unified output (-u option) provides a 'diff' view that is much more ameniable to being understood by humans.


    diff --side-by-side --suppress-common-lines --ignore-space-change \
    $1 $2 | less -S


    But lately what I use is "meld".

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to All on Tue Aug 19 12:28:49 2025
    On 2025-08-16 02:20, candycanearter07 wrote:
    Lawrence D'Oliveiro <[email protected]d> wrote at 22:45 this Thursday (GMT):
    On Thu, 14 Aug 2025 14:50:06 +0300, Anssi Saari wrote:

    Lawrence D'Oliveiro <[email protected]d> writes:

    What’s an obvious omission from his list? To me, it’s the “find” >>>> command.

    Possibly or something like it. I just started looking into rawhide which >>> is another search tool. My interest is rawhide's ability to search for
    tags in extended attributes. I've started adding tags to videos and
    photos so I can search for those with rawhide.

    The “find” command has the ability to execute external commands. Those can
    produce output on their own, and/or their success/failure exit status can
    be used as a filter on matching files.


    To be fair, "find" can be a bit of a rabbithole to learn. I personally
    only know the basics of -name, -iname, and -type.

    I have forgotten how to use find, I use it so few times. So instead of
    learning again, when I need to use it, I use chatgpt to concoct the line
    for me :-P

    The other day I wanted to search a machine to find files created between certain dates:

    Laicolasse:~ # time find / -type d -newermt "2025-07-28" \
    ! -newermt "2025-07-31" 2>/dev/null | tee busqueda
    ^C

    real 26m14.066s
    user 0m3.725s
    sys 1m5.634s
    Laicolasse:~ #

    Took way too long for a laptop with M2 disk. It was faster on other
    machines.

    Turned out that an automount was happening of an external nfs mount on "/mnt/nfs/Isengard/xfsRaid/", and that raid is big and slow, the search
    took for ever.

    I did not want to do a refresher course on "find" again.

    With the aid of chatgpt I came with:

    # find / \( -path /mnt/nfs/Isengard/xfsRaid/ \) -prune \
    -o -type d -newermt "2025-07-28" ! -newermt "2025-07-31" \
    2>/dev/null | tee busqueda

    But did not work, the directory was mounted again and scanned. I then
    deleted the automount line from fstab:

    #Isengard.valinor:/data/xfsRaid/ /mnt/nfs/Isengard/xfsRaid \
    nfs4 noauto,nofail,x-systemd.automount,\
    x-systemd.idle-timeout=300,_netdev,user,users,lazytime 0 0


    But did not work because systemd has a memory (automatic mount units)
    and still automounted the directory.

    So what did I do?

    Stop the network!

    Brute force approach.


    In retrospect, I should have used:

    Laicolasse:~ # time find / \( -path /mnt/nfs/Isengard/ \) \
    -prune -o -type d -newermt "2025-07-28" ! -newermt \
    "2025-07-31" 2>/dev/null | tee busqueda
    ...

    real 0m3.035s
    user 0m0.836s
    sys 0m2.180s
    Laicolasse:~ #




    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to [email protected] on Tue Aug 19 13:40:10 2025
    Lawrence D’Oliveiro <[email protected]d> wrote at 02:07 this Saturday (GMT):
    On Sat, 16 Aug 2025 00:20:08 -0000 (UTC), candycanearter07 wrote:

    Lawrence D'Oliveiro <[email protected]d> wrote at 22:45 this Thursday (GMT):

    The “find” command has the ability to execute external commands.
    Those can produce output on their own, and/or their success/failure
    exit status can be used as a filter on matching files.

    To be fair, "find" can be a bit of a rabbithole to learn.

    The term for that is “deep” software: it doesn’t scare you with a
    whole lot of complexity up front. Instead, it offers some initial
    features that aren’t that hard to use, but the more you dig beneath
    the surface, the more capabilities you find. This is why it’s good
    that the man page is always handy: you can keep going back to it and discovering new things as you need them.


    Well yeah, but the "basic" usage still requires a few switches, and its
    not outlined in examples. I'm not surprised those "important linux
    commands" lists were too lazy to provide that info.
    --
    user <candycane> is generated from /dev/urandom

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence =?iso-8859-13?q?D=FFOlivei@21:1/5 to Carlos E.R. on Wed Aug 20 00:59:15 2025
    On Tue, 19 Aug 2025 12:28:49 +0200, Carlos E.R. wrote:

    Laicolasse:~ # time find / -type d -newermt "2025-07-28" \
    ! -newermt "2025-07-31" 2>/dev/null | tee busqueda

    I never knew about -newermt. Why? Because it’s not listed in the man page, though it is documented in the info file.

    Nope. Scratch that. It *is* documented in the man page, in the form of “- newerXY” with explanations of what “X” and “Y” can be.

    Turned out that an automount was happening of an external nfs mount on "/mnt/nfs/Isengard/xfsRaid/", and that raid is big and slow, the search
    took for ever.

    Wouldn’t “-xdev” (“don’t descend directories on other filesystems”) have
    fixed that?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence =?iso-8859-13?q?D=FFOlivei@21:1/5 to Carlos E.R. on Wed Aug 20 00:50:24 2025
    On Tue, 19 Aug 2025 12:06:04 +0200, Carlos E.R. wrote:

    But lately what I use is "meld".

    <https://meldmerge.org/> -- seems to do a lot.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rene Kita@21:1/5 to [email protected] on Wed Aug 20 05:54:57 2025
    Lawrence D’Oliveiro <[email protected]d> wrote:
    On Fri, 15 Aug 2025 04:55:04 -0000 (UTC), Rene Kita wrote:

    Charlie Gibbs <[email protected]d> wrote:

    Favourite one-liner:
    grep foo * | cut -d: -f1 | uniq

    Why not 'grep -l foo *'?

    To “UUOC” (“Useless Use Of Cat”), we can add a new category: How about
    “UUOCP” (“Useless Use Of Complicated Pipelines”)?

    I like that.

    Somewhere downthread was another one using find and xargs. While this
    might be necessary under some circumstances find usually comes with
    -exec and shells have extended globbing to recursively go into
    directories.

    But I refrained from my duty call...

    Also I'm far from being a Linux Expert.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to All on Wed Aug 20 12:20:37 2025
    On 2025-08-20 02:50, Lawrence D’Oliveiro wrote:
    On Tue, 19 Aug 2025 12:06:04 +0200, Carlos E.R. wrote:

    But lately what I use is "meld".

    <https://meldmerge.org/> -- seems to do a lot.

    For example, after an update an rpm based system there are a lot of
    .rpmold or .rpmorig files. I compare the config files with the other
    version and easily copy over the new or the old lines into the active file.

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to All on Wed Aug 20 12:32:16 2025
    On 2025-08-20 02:59, Lawrence D’Oliveiro wrote:
    On Tue, 19 Aug 2025 12:28:49 +0200, Carlos E.R. wrote:

    Laicolasse:~ # time find / -type d -newermt "2025-07-28" \
    ! -newermt "2025-07-31" 2>/dev/null | tee busqueda

    I never knew about -newermt. Why? Because it’s not listed in the man page, though it is documented in the info file.

    Nope. Scratch that. It *is* documented in the man page, in the form of “- newerXY” with explanations of what “X” and “Y” can be.

    Turned out that an automount was happening of an external nfs mount on
    "/mnt/nfs/Isengard/xfsRaid/", and that raid is big and slow, the search
    took for ever.

    Wouldn’t “-xdev” (“don’t descend directories on other filesystems”) have
    fixed that?

    But I need to scan both root and home, which are separate filesystems.

    I just saw:

    -xautofs
    Don't descend directories on autofs filesystems.


    which I have tested now and works! I feared it might work with the
    classic automount but not with systemd. It does work. Nice!

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence =?iso-8859-13?q?D=FFOlivei@21:1/5 to Carlos E.R. on Wed Aug 20 22:16:22 2025
    On Wed, 20 Aug 2025 12:20:37 +0200, Carlos E.R. wrote:

    For example, after an update an rpm based system there are a lot of
    .rpmold or .rpmorig files. I compare the config files with the other
    version and easily copy over the new or the old lines into the
    active file.

    On Debian with a package upgrade, if the config file from the old
    package hasn’t been changed from the default, it quietly replaces it
    with the version from the new package. If it has been changed, then it
    prompts you to ask what to do.

    So only in the latter case do you end up with leftover configs from
    the old version.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence =?iso-8859-13?q?D=FFOlivei@21:1/5 to Carlos E.R. on Wed Aug 20 22:21:16 2025
    On Wed, 20 Aug 2025 12:32:16 +0200, Carlos E.R. wrote:

    On 2025-08-20 02:59, Lawrence D’Oliveiro wrote:

    Wouldn’t “-xdev” (“don’t descend directories on other filesystems”)
    have fixed that?

    But I need to scan both root and home, which are separate filesystems.

    I was going to say, explicitly list both / and /home (and whatever else)
    as directories to search in, with -xdev to avoid entering any other mount points, but ...

    I just saw:

    -xautofs
    Don't descend directories on autofs filesystems.


    which I have tested now and works! I feared it might work with the
    classic automount but not with systemd. It does work. Nice!

    ... that is probably simpler. ;)

    However, it’s not present on my “find” version (findutils 4.10.0-3, part of Debian Unstable as of last month).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to All on Thu Aug 21 02:29:57 2025
    On 2025-08-21 00:21, Lawrence D’Oliveiro wrote:
    On Wed, 20 Aug 2025 12:32:16 +0200, Carlos E.R. wrote:

    On 2025-08-20 02:59, Lawrence D’Oliveiro wrote:

    Wouldn’t “-xdev” (“don’t descend directories on other filesystems”)
    have fixed that?

    But I need to scan both root and home, which are separate filesystems.

    I was going to say, explicitly list both / and /home (and whatever else)
    as directories to search in, with -xdev to avoid entering any other mount points, but ...

    I just saw:

    -xautofs
    Don't descend directories on autofs filesystems.


    which I have tested now and works! I feared it might work with the
    classic automount but not with systemd. It does work. Nice!

    ... that is probably simpler. ;)

    However, it’s not present on my “find” version (findutils 4.10.0-3, part
    of Debian Unstable as of last month).

    Wow. And I'm using openSUSE Leap 15.6, which has ancient versions of
    almost everything.

    Telcontar:~ # rpm -q findutils
    findutils-4.8.0-150300.3.3.2.x86_64

    Weird.

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence =?iso-8859-13?q?D=FFOlivei@21:1/5 to Carlos E.R. on Thu Aug 21 01:29:35 2025
    On Thu, 21 Aug 2025 02:29:57 +0200, Carlos E.R. wrote:

    On 2025-08-21 00:21, Lawrence D’Oliveiro wrote:

    However, it’s not present on my “find” version (findutils 4.10.0-3,
    part of Debian Unstable as of last month).

    Wow. And I'm using openSUSE Leap 15.6, which has ancient versions of
    almost everything.

    Telcontar:~ # rpm -q findutils
    findutils-4.8.0-150300.3.3.2.x86_64

    Weird.

    The patch is actually older than that, dating from 2009 <http://fedora.riscv.rocks:3000/rpms/findutils/commit/29ef88d6c3ded9300b7c0c1b1a29321b287cab7a?style=unified&whitespace=ignore-all&show-outdated=>.
    But it looks like it was never upstreamed into the GNU version <https://www.gnu.org/software/findutils/manual/html_mono/find.html>.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Anssi Saari@21:1/5 to Charlie Gibbs on Thu Aug 21 11:44:40 2025
    Charlie Gibbs <[email protected]d> writes:

    How about a list of favourite options to common commands?
    Mine is "ls -ltr", which shows files in chronological order.

    For ls, I have

    - lsl is aliased to ls -lLF. I sometimes remove the L and then put it
    back because sometimes I want to see symlinks as symlinks and
    sometimes I don't. I think I'm tending towards seeing the symlinks
    again.
    - l is aliased to ls -lF|more or more -e now to retain the old behavior,
    i.e. paging only paging needed, exit otherwise.
    - lth is a function to run ls -lt | head -20 on its arguments or $PWD if
    no arguments.
    - I'm thinking of replacing the l alias with a function so it can be run
    on multiple directories and retain color. Something like
    ls --color=always -lF $* | less -iX -E -R

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to All on Thu Aug 21 12:46:34 2025
    On 2025-08-21 03:29, Lawrence D’Oliveiro wrote:
    On Thu, 21 Aug 2025 02:29:57 +0200, Carlos E.R. wrote:

    On 2025-08-21 00:21, Lawrence D’Oliveiro wrote:

    However, it’s not present on my “find” version (findutils 4.10.0-3, >>> part of Debian Unstable as of last month).

    Wow. And I'm using openSUSE Leap 15.6, which has ancient versions of
    almost everything.

    Telcontar:~ # rpm -q findutils
    findutils-4.8.0-150300.3.3.2.x86_64

    Weird.

    The patch is actually older than that, dating from 2009 <http://fedora.riscv.rocks:3000/rpms/findutils/commit/29ef88d6c3ded9300b7c0c1b1a29321b287cab7a?style=unified&whitespace=ignore-all&show-outdated=>.
    But it looks like it was never upstreamed into the GNU version <https://www.gnu.org/software/findutils/manual/html_mono/find.html>.

    So, little mystery solved :-)

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nuno Silva@21:1/5 to Richard Kettlewell on Fri Aug 22 10:18:23 2025
    On 2025-08-18, Richard Kettlewell wrote:

    Nuno Silva <[email protected]d> writes:
    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

    The man page is little more than an option summary. The texinfo manual describes the default output format here:

    https://www.gnu.org/software/diffutils/manual/html_node/Detailed-Normal.html

    Thanks, that eluded me when I was looking at it, either I failed at
    searching, or I didn't search further because I assumed it was the
    coreutils info manual (hence why I mentioned "section"). It is indeed documented there :-)

    --
    Nuno Silva

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIE@21:1/5 to All on Sat Aug 23 12:22:45 2025
    Le 19-08-2025, Carlos E.R. <[email protected]d> a écrit :
    On 2025-08-16 20:28, Rich wrote:
    Stéphane CARPENTIER <[email protected]> wrote:
    I never use "diff". I really don't like the way it's displayed. I'm using >>> "vimdiff" or "nvim -d" a lot, because at the same time it's easier to
    see what I want and it's easier to make the right changes.

    diff's default output is an 'ed script' which is not very human
    readable at all.

    The unified output (-u option) provides a 'diff' view that is much more
    ameniable to being understood by humans.


    diff --side-by-side --suppress-common-lines --ignore-space-change \
    $1 $2 | less -S

    I'm still not convinced. OK, it's a little bit better to read than the
    default. But it's still very poor compared with vimdiff/nvim -d. And,
    unlike vim/neovim, it's still useless to report some change in a file to another file.

    But lately what I use is "meld".

    OK, I looked at it a little bit, it's the same information level than vimdiff/nvim -v. But it looks more mouse driven than keyboard driven and
    I'd have to learn something new.

    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to All on Sun Aug 24 00:38:34 2025
    On 2025-08-23 14:22, Stéphane CARPENTIER wrote:
    Le 19-08-2025, Carlos E.R. <[email protected]d> a écrit :
    On 2025-08-16 20:28, Rich wrote:
    Stéphane CARPENTIER <[email protected]> wrote:
    I never use "diff". I really don't like the way it's displayed. I'm using >>>> "vimdiff" or "nvim -d" a lot, because at the same time it's easier to
    see what I want and it's easier to make the right changes.

    diff's default output is an 'ed script' which is not very human
    readable at all.

    The unified output (-u option) provides a 'diff' view that is much more
    ameniable to being understood by humans.


    diff --side-by-side --suppress-common-lines --ignore-space-change \
    $1 $2 | less -S

    I'm still not convinced. OK, it's a little bit better to read than the default. But it's still very poor compared with vimdiff/nvim -d. And,
    unlike vim/neovim, it's still useless to report some change in a file to another file.

    But lately what I use is "meld".

    OK, I looked at it a little bit, it's the same information level than vimdiff/nvim -v. But it looks more mouse driven than keyboard driven and
    I'd have to learn something new.


    In my notes I have:

    utils diff
    kdiff3
    tkdiff *
    fldiff
    meld - very good comparison editor



    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIE@21:1/5 to All on Sun Aug 24 11:15:36 2025
    Le 23-08-2025, Carlos E.R. <[email protected]d> a écrit :
    On 2025-08-23 14:22, Stéphane CARPENTIER wrote:
    Le 19-08-2025, Carlos E.R. <[email protected]d> a écrit :

    But lately what I use is "meld".

    OK, I looked at it a little bit, it's the same information level than
    vimdiff/nvim -v. But it looks more mouse driven than keyboard driven and
    I'd have to learn something new.


    In my notes I have:

    utils diff
    kdiff3
    tkdiff *
    fldiff
    meld - very good comparison editor

    Like I said unlike diff, it looks OK to have easily the most important informations about the changes. So, yes, it looks good. Now, I'm a
    vimist, so if it doesn't bring me more than vim, I don't see the point
    on using it. Never heard about it, never heard about the others neither.

    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to All on Sun Aug 24 22:44:24 2025
    On 2025-08-24 13:15, Stéphane CARPENTIER wrote:
    Le 23-08-2025, Carlos E.R. <[email protected]d> a écrit :
    On 2025-08-23 14:22, Stéphane CARPENTIER wrote:
    Le 19-08-2025, Carlos E.R. <[email protected]d> a écrit :

    But lately what I use is "meld".

    OK, I looked at it a little bit, it's the same information level than
    vimdiff/nvim -v. But it looks more mouse driven than keyboard driven and >>> I'd have to learn something new.


    In my notes I have:

    utils diff
    kdiff3
    tkdiff *
    fldiff
    meld - very good comparison editor

    Like I said unlike diff, it looks OK to have easily the most important informations about the changes. So, yes, it looks good. Now, I'm a
    vimist, so if it doesn't bring me more than vim, I don't see the point
    on using it. Never heard about it, never heard about the others neither.

    Sure, I'm just mentioning the existence of other tools, should other
    people read this.

    tkdiff is, I think, another editor tuned to file comparison. I don't
    have installed kdiff3 nor fldiff, so I can't comment.

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence =?iso-8859-13?q?D=FFOlivei@21:1/5 to All on Sun Aug 24 22:16:58 2025
    On 24 Aug 2025 11:15:36 GMT, Stéphane CARPENTIER wrote:

    Now, I'm a vimist, so if it doesn't bring me more than vim, I don't see
    the point on using it.

    I wrote custom commands for Emacs that let you do diffs on selected
    *parts* of files.

    <https://gitlab.com/ldo/emacs-prefs/-/blob/master/diffbuff.el>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)