• =?UTF-8?Q?Re=3A_=E2=80=9C5_MacOS_command_line_tools_I_swear_by_over?==?UTF-8?Q?_their_GUI_counterparts=E2=80=9D?=

    From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Mon May 4 18:58:19 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-04 18:24, Joel W. Crump wrote:
    On 5/4/2026 9:14 PM, Alan wrote:
    On 2026-05-04 17:54, Lawrence D’Oliveiro wrote:

    Are Mac users really brave enough to try command-line tools?

    <https://www.zdnet.com/article/macos-command-line-utilities-that-are-
    far-more-useful-than-you-think/>

    All of them are available for Linux, and are probably easier to
    install and use there than on a Mac.

    Guess where the “real Unix” is to be found ...

    In what way will they be "easier to install and use" on Linux?

    1. Pandoc

    'Pandoc is available as a pkg installation package that you can
    download from the official GitHub site. Double-click it and follow the
    simple instructions.

    Or, if you have Homebrew installed, you can add Pandoc with the command:'

    Seems about the same or easier on a macOS.

    2 Taskwarrior

    'To install taskwarrior, you have to have Homebrew installed and then
    add the app with:

    brew install taskwarrior-tui'

    So if you've installed Homebrew (which I have and which itself is
    available as a .pkg installer), it's precisely the same on Linux and
    MacOS.

    3. Ollama

    'When you install Ollama on MacOS, you can either install the GUI app
    and use the command line, or you can simply install the command-line
    tool only using Homebrew, like so:'

    So again, as easy as Linux.

    4. ag

    'The ag command allows you to search for strings within files. Even
    better, ag searches multiple files for the same string. Say you have a
    bunch of text files in your Documents directory and you need to know
    which of them contain ZDNET. The ag command will not only tell you
    which files contain the string, but it'll do it very quickly.'

    Ummmm... ...macOS already HAS this ability.

    So Linux loses.

    '5. yt-dlp

    'Do you ever need to download videos from YouTube? If so...'

    'Yt-dlp can be installed (along with the required ffmpeg) with
    Homebrew, like so:

    brew install yt-dlp ffmpeg'

    So once again, after installing homebrew (which is as easy or perhaps
    even easier on macOS)...

    ...it's precisely as easy.


    This is why you're an odd character, you take this competition so
    seriously, Lawrence is obsessed with promoting open-source and Linux
    over Apple and MS, and you take the bait, trying to make sure everyone reading Usenet OS-advocacy groups, in 2026, knows that Apple's pretty
    damn great, too!  Like wow, get over it.  If you love your Macs, great, good for you, but most people would rather not pay $200 for half of a
    512 GB SSD.


    Hey... ...are you a completely one-note wonder now?

    He posted this to comp.sys.MAC.advocacy...

    ...and it was complete bullshit from start to finish.

    So I kind of understand why you need to rush in.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From CrudeSausage@crude@sausa.ge to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 08:55:28 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-04 8:54 p.m., Lawrence D’Oliveiro wrote:
    Are Mac users really brave enough to try command-line tools?

    <https://www.zdnet.com/article/macos-command-line-utilities-that-are-far-more-useful-than-you-think/>

    All of them are available for Linux, and are probably easier to
    install and use there than on a Mac.

    Guess where the “real Unix” is to be found ...

    I'll just bet that these applications are all free too, whereas a Mac
    user is usually pushed toward buying something to do the same thing
    inside of a GUI. There is nothing with either approach, but if you can
    save money by doing something inside a terminal, you might as well do so.
    --
    CrudeSausage
    2019 Thinkpad E595
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Brock McNuggets@brock.mcnuggets@gmail.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 13:54:10 2026
    From Newsgroup: comp.os.linux.advocacy

    On May 5, 2026 at 5:55:28 AM MST, "CrudeSausage" wrote <69f9e8c0$1$26$882e4bbb@reader.netnews.com>:

    On 2026-05-04 8:54 p.m., Lawrence D’Oliveiro wrote:
    Are Mac users really brave enough to try command-line tools?

    <https://www.zdnet.com/article/macos-command-line-utilities-that-are-far-more-useful-than-you-think/>

    All of them are available for Linux, and are probably easier to
    install and use there than on a Mac.

    Guess where the “real Unix” is to be found ...

    I'll just bet that these applications are all free too, whereas a Mac
    user is usually pushed toward buying something to do the same thing
    inside of a GUI. There is nothing with either approach, but if you can
    save money by doing something inside a terminal, you might as well do so.

    One thing I like about macOS is the level of choice. A UNIX CLI with a world class GUI. It is what I wanted for many years before macOS ever existed.
    --
    It's impossible for someone who is at war with themselves to be at peace with you.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Joel W. Crump@joelcrump@gmail.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 10:24:15 2026
    From Newsgroup: comp.os.linux.advocacy

    On 5/5/2026 9:54 AM, Brock McNuggets wrote:
    On May 5, 2026 at 5:55:28 AM MST, "CrudeSausage" wrote <69f9e8c0$1$26$882e4bbb@reader.netnews.com>:
    On 2026-05-04 8:54 p.m., Lawrence D’Oliveiro wrote:

    Are Mac users really brave enough to try command-line tools?

    <https://www.zdnet.com/article/macos-command-line-utilities-that-are-far-more-useful-than-you-think/>

    All of them are available for Linux, and are probably easier to
    install and use there than on a Mac.

    Guess where the “real Unix” is to be found ...

    I'll just bet that these applications are all free too, whereas a Mac
    user is usually pushed toward buying something to do the same thing
    inside of a GUI. There is nothing with either approach, but if you can
    save money by doing something inside a terminal, you might as well do so.

    One thing I like about macOS is the level of choice. A UNIX CLI with a world class GUI. It is what I wanted for many years before macOS ever existed.


    I find Linux gives me that, more so than macOS would. Then again, I
    just don't dig the Mac ecosystem. For one who's primed on Apple's GUI,
    the Unix components would be an excellent bonus indeed.
    --
    Joel W. Crump
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 17:08:14 2026
    From Newsgroup: comp.os.linux.advocacy

    On 05/05/2026 02:54, Lawrence D’Oliveiro wrote:
    Are Mac users really brave enough to try command-line tools?

    <https://www.zdnet.com/article/macos-command-line-utilities-that-are-far-more-useful-than-you-think/>

    All of them are available for Linux, and are probably easier to
    install and use there than on a Mac.

    If one can use the command line one can install homebrew (or Mac Ports
    or Nix). From there on it's equally easy to install and use those 5
    commands.

    Guess where the “real Unix” is to be found ...

    macOS, it's certified that way. Anyway, back when I used real Unix(TM)
    one had to download a tarball and compile manually...

    By the way, Pandoc is a great tool. I use it to generate my resume from
    a markdown file with some YAML, see: <https://github.com/john-bokma/resume-pandoc>

    If you like ag you might like ripgrep more, <https://github.com/burntsushi/ripgrep>

    (this page also shows the plethora of ways to install on "Linux".)
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 17:11:02 2026
    From Newsgroup: comp.os.linux.advocacy

    On 05/05/2026 03:14, Alan wrote:
    On 2026-05-04 17:54, Lawrence D’Oliveiro wrote:

    [...]

    4. ag

    'The ag command allows you to search for strings within files. Even
    better, ag searches multiple files for the same string. Say you have a
    bunch of text files in your Documents directory and you need to know
    which of them contain ZDNET. The ag command will not only tell you which files contain the string, but it'll do it very quickly.'

    Ummmm... ...macOS already HAS this ability.

    So Linux loses.

    No. Linux has also find and grep, the GNU version, which has more
    command line options compared to what macOS has. One can install, of
    course, the GNU utilities on macOS and use those.
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 17:13:22 2026
    From Newsgroup: comp.os.linux.advocacy

    On 05/05/2026 03:24, Joel W. Crump wrote:

    [...]

    good for you, but most people would rather not pay $200 for half of a
    512 GB SSD.

    They might have too soon if prices keep going up. Question is what is
    Apple going to do with the increased memory / SSD prices.
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From CrudeSausage@crude@sausa.ge to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 11:20:43 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-05 11:13 a.m., John Bokma wrote:
    On 05/05/2026 03:24, Joel W. Crump wrote:

    [...]

    good for you, but most people would rather not pay $200 for half of a
    512 GB SSD.

    They might have too soon if prices keep going up. Question is what is
    Apple going to do with the increased memory / SSD prices.


    They will give the lowest amount of storage and RAM they can manage
    without discouraging sales. 512GB for storage and 16GB is probably the
    lowest they can go today. My 2TB on the 2021 unit suddenly looks huge.
    --
    CrudeSausage
    2019 Thinkpad E595
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 17:31:10 2026
    From Newsgroup: comp.os.linux.advocacy

    On 05/05/2026 17:20, CrudeSausage wrote:
    On 2026-05-05 11:13 a.m., John Bokma wrote:
    On 05/05/2026 03:24, Joel W. Crump wrote:

    [...]

    good for you, but most people would rather not pay $200 for half of a
    512 GB SSD.

    They might have too soon if prices keep going up. Question is what is
    Apple going to do with the increased memory / SSD prices.


    They will give the lowest amount of storage and RAM they can manage
    without discouraging sales. 512GB for storage and 16GB is probably the lowest they can go today. My 2TB on the 2021 unit suddenly looks huge.

    What I mean is: if they stick with 200 USD for 256GB additional storage
    on the Mac mini or not and ask more to compensate for the increase in
    SSD prices.
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 17:37:37 2026
    From Newsgroup: comp.os.linux.advocacy

    On 05/05/2026 02:54, Lawrence D’Oliveiro wrote:
    Are Mac users really brave enough to try command-line tools?

    Of course. Projects like homebrew and Mac Ports show that there is a
    serious interest in cli tools for macOS. Also Nix provides a huge number
    of packages for macOS.
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 08:50:11 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-05 08:11, John Bokma wrote:
    On 05/05/2026 03:14, Alan wrote:
    On 2026-05-04 17:54, Lawrence D’Oliveiro wrote:

    [...]

    4. ag

    'The ag command allows you to search for strings within files. Even
    better, ag searches multiple files for the same string. Say you have a
    bunch of text files in your Documents directory and you need to know
    which of them contain ZDNET. The ag command will not only tell you
    which files contain the string, but it'll do it very quickly.'

    Ummmm... ...macOS already HAS this ability.

    So Linux loses.

    No. Linux has also find and grep, the GNU version, which has more
    command line options compared to what macOS has. One can install, of
    course, the GNU utilities on macOS and use those.


    macOS has find and grep--it ships with them, and the ability to do
    indexed searches with a command line version of "Spotlight".
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 08:51:03 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-05 05:55, CrudeSausage wrote:
    On 2026-05-04 8:54 p.m., Lawrence D’Oliveiro wrote:
    Are Mac users really brave enough to try command-line tools?

    <https://www.zdnet.com/article/macos-command-line-utilities-that-are-
    far-more-useful-than-you-think/>

    All of them are available for Linux, and are probably easier to
    install and use there than on a Mac.

    Guess where the “real Unix” is to be found ...

    I'll just bet that these applications are all free too, whereas a Mac
    user is usually pushed toward buying something to do the same thing
    inside of a GUI. There is nothing with either approach, but if you can
    save money by doing something inside a terminal, you might as well do so.


    Nope. No one is "pushed" to buy anything on a Mac.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 08:51:44 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-05 07:24, Joel W. Crump wrote:
    On 5/5/2026 9:54 AM, Brock McNuggets wrote:
    On May 5, 2026 at 5:55:28 AM MST, "CrudeSausage" wrote
    <69f9e8c0$1$26$882e4bbb@reader.netnews.com>:
    On 2026-05-04 8:54 p.m., Lawrence D’Oliveiro wrote:

    Are Mac users really brave enough to try command-line tools?

    <https://www.zdnet.com/article/macos-command-line-utilities-that-
    are-far-more-useful-than-you-think/>

    All of them are available for Linux, and are probably easier to
    install and use there than on a Mac.

    Guess where the “real Unix” is to be found ...

    I'll just bet that these applications are all free too, whereas a Mac
    user is usually pushed toward buying something to do the same thing
    inside of a GUI. There is nothing with either approach, but if you can
    save money by doing something inside a terminal, you might as well do
    so.

    One thing I like about macOS is the level of choice. A UNIX CLI with a
    world
    class GUI. It is what I wanted for many years before macOS ever existed.


    I find Linux gives me that, more so than macOS would.

    For some use of the word "more" than you've never been able to articulate...

    Then again, I
    just don't dig the Mac ecosystem.  For one who's primed on Apple's GUI,
    the Unix components would be an excellent bonus indeed.


    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 17:54:45 2026
    From Newsgroup: comp.os.linux.advocacy

    On 05/05/2026 17:50, Alan wrote:
    On 2026-05-05 08:11, John Bokma wrote:
    [..]
    No. Linux has also find and grep, the GNU version, which has more
    command line options compared to what macOS has. One can install, of
    course, the GNU utilities on macOS and use those.

    macOS has find and grep--it ships with them, and the ability to do
    indexed searches with a command line version of "Spotlight".

    find and grep on macOS have less options compared to the GNU version.
    One can use Mac ports (or homebrew, I am sure) to install the GNU find
    and grep.
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From CrudeSausage@crude@sausa.ge to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 12:02:16 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-05 11:31 a.m., John Bokma wrote:
    On 05/05/2026 17:20, CrudeSausage wrote:
    On 2026-05-05 11:13 a.m., John Bokma wrote:
    On 05/05/2026 03:24, Joel W. Crump wrote:

    [...]

    good for you, but most people would rather not pay $200 for half of
    a 512 GB SSD.

    They might have too soon if prices keep going up. Question is what is
    Apple going to do with the increased memory / SSD prices.


    They will give the lowest amount of storage and RAM they can manage
    without discouraging sales. 512GB for storage and 16GB is probably the
    lowest they can go today. My 2TB on the 2021 unit suddenly looks huge.

    What I mean is: if they stick with 200 USD for 256GB additional storage
    on the Mac mini or not and ask more to compensate for the increase in
    SSD prices.

    While I don't think my M4 Air is appropriate to play games, if I did
    play them on the unit and considering the small 256GB capacity, I would
    use an NVMe in an enclosure and install the games onto it. It's not
    ideal, but it solves a problem. To be honest, I'm not sure what the performance difference would be with this approach.
    --
    CrudeSausage
    2019 Thinkpad E595
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 09:06:39 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-05 08:54, John Bokma wrote:
    On 05/05/2026 17:50, Alan wrote:
    On 2026-05-05 08:11, John Bokma wrote:
    [..]
    No. Linux has also find and grep, the GNU version, which has more
    command line options compared to what macOS has. One can install, of
    course, the GNU utilities on macOS and use those.

    macOS has find and grep--it ships with them, and the ability to do
    indexed searches with a command line version of "Spotlight".

    find and grep on macOS have less options compared to the GNU version.
    One can use Mac ports (or homebrew, I am sure) to install the GNU find
    and grep.


    Options such as?
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 18:08:13 2026
    From Newsgroup: comp.os.linux.advocacy

    On 05/05/2026 18:02, CrudeSausage wrote:

    [..]
    While I don't think my M4 Air is appropriate to play games, if I did

    Depends on what games you want to play.

    play them on the unit and considering the small 256GB capacity, I would
    use an NVMe in an enclosure and install the games onto it. It's not
    ideal, but it solves a problem. To be honest, I'm not sure what the performance difference would be with this approach.

    It might be faster, depending on the SSD, is my understanding.
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 18:13:45 2026
    From Newsgroup: comp.os.linux.advocacy

    On 05/05/2026 18:06, Alan wrote:
    On 2026-05-05 08:54, John Bokma wrote:
    [..]
    find and grep on macOS have less options compared to the GNU version.
    One can use Mac ports (or homebrew, I am sure) to install the GNU find
    and grep.

    Options such as?


    For example grep on macOS doesn't support the -P option (Perl compatible regular expression). But like I wrote, installing the GNU version via
    homebrew solves this.
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 09:14:06 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-05 09:08, John Bokma wrote:
    On 05/05/2026 18:02, CrudeSausage wrote:

    [..]
    While I don't think my M4 Air is appropriate to play games, if I did

    Depends on what games you want to play.

    play them on the unit and considering the small 256GB capacity, I
    would use an NVMe in an enclosure and install the games onto it. It's
    not ideal, but it solves a problem. To be honest, I'm not sure what
    the performance difference would be with this approach.

    It might be faster, depending on the SSD, is my understanding.


    Your understanding needs updating.

    The fastest an external SSD can transfer is using Thunderbolt 4 (or
    USB4) is about 3,100 MB/s.

    The internal SSD of a MacBook Air is 3,500-4,000 MB/s

    You're welcome.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 09:16:32 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-05 09:13, John Bokma wrote:
    On 05/05/2026 18:06, Alan wrote:
    On 2026-05-05 08:54, John Bokma wrote:
    [..]
    find and grep on macOS have less options compared to the GNU version.
    One can use Mac ports (or homebrew, I am sure) to install the GNU
    find and grep.

    Options such as?


    For example grep on macOS doesn't support the -P option (Perl compatible regular expression). But like I wrote, installing the GNU version via homebrew solves this.


    Honestly, that's it?

    How is that actually much of an advantage for the GNU version?

    How many times in the last year have you used grep with a regular
    expression that required using Perl-compatible regex?
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 18:49:36 2026
    From Newsgroup: comp.os.linux.advocacy

    On 05/05/2026 18:14, Alan wrote:
    On 2026-05-05 09:08, John Bokma wrote:
    On 05/05/2026 18:02, CrudeSausage wrote:

    [..]
    While I don't think my M4 Air is appropriate to play games, if I did

    Depends on what games you want to play.

    play them on the unit and considering the small 256GB capacity, I
    would use an NVMe in an enclosure and install the games onto it. It's
    not ideal, but it solves a problem. To be honest, I'm not sure what
    the performance difference would be with this approach.

    It might be faster, depending on the SSD, is my understanding.


    Your understanding needs updating.

    The fastest an external SSD can transfer is using Thunderbolt 4 (or
    USB4) is about 3,100 MB/s.

    The internal SSD of a MacBook Air is 3,500-4,000 MB/s

    You're welcome.

    Clear, thank you!
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 18:59:07 2026
    From Newsgroup: comp.os.linux.advocacy

    On 05/05/2026 18:16, Alan wrote:
    On 2026-05-05 09:13, John Bokma wrote:
    On 05/05/2026 18:06, Alan wrote:
    On 2026-05-05 08:54, John Bokma wrote:
    [..]
    find and grep on macOS have less options compared to the GNU
    version. One can use Mac ports (or homebrew, I am sure) to install
    the GNU find and grep.

    Options such as?


    For example grep on macOS doesn't support the -P option (Perl
    compatible regular expression). But like I wrote, installing the GNU
    version via homebrew solves this.

    Honestly, that's it?

    For example.

    How is that actually much of an advantage for the GNU version?

    Perl compatible regular expressions are very powerful.

    How many times in the last year have you used grep with a regular
    expression that required using Perl-compatible regex?

    In such cases I use Perl itself ;-)

    But if you want to know something that's different and that I bump into
    now and then is that the GNU version of find defaults to the current
    working directory while with the macOS version of find one has to
    specify the working directory.

    Anyway, like I wrote, the GNU version of each is just an install away.
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 10:04:29 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-05 09:59, John Bokma wrote:
    On 05/05/2026 18:16, Alan wrote:
    On 2026-05-05 09:13, John Bokma wrote:
    On 05/05/2026 18:06, Alan wrote:
    On 2026-05-05 08:54, John Bokma wrote:
    [..]
    find and grep on macOS have less options compared to the GNU
    version. One can use Mac ports (or homebrew, I am sure) to install
    the GNU find and grep.

    Options such as?


    For example grep on macOS doesn't support the -P option (Perl
    compatible regular expression). But like I wrote, installing the GNU
    version via homebrew solves this.

    Honestly, that's it?

    For example.


    I would assume you'd give the best example you could.

    How is that actually much of an advantage for the GNU version?

    Perl compatible regular expressions are very powerful.

    I'm sure they are. But it's still a minor, MINOR niggle.


    How many times in the last year have you used grep with a regular
    expression that required using Perl-compatible regex?

    In such cases I use Perl itself ;-)

    See?


    But if you want to know something that's different and that I bump into
    now and then is that the GNU version of find defaults to the current
    working directory while with the macOS version of find one has to
    specify the working directory.

    Anyway, like I wrote, the GNU version of each is just an install away.
    True.

    But macOS as it comes is a fully-equipped command line system.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From CrudeSausage@crude@sausa.ge to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 13:21:18 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-05 12:49 p.m., John Bokma wrote:
    On 05/05/2026 18:14, Alan wrote:
    On 2026-05-05 09:08, John Bokma wrote:
    On 05/05/2026 18:02, CrudeSausage wrote:

    [..]
    While I don't think my M4 Air is appropriate to play games, if I did

    Depends on what games you want to play.

    play them on the unit and considering the small 256GB capacity, I
    would use an NVMe in an enclosure and install the games onto it.
    It's not ideal, but it solves a problem. To be honest, I'm not sure
    what the performance difference would be with this approach.

    It might be faster, depending on the SSD, is my understanding.


    Your understanding needs updating.

    The fastest an external SSD can transfer is using Thunderbolt 4 (or
    USB4) is about 3,100 MB/s.

    The internal SSD of a MacBook Air is 3,500-4,000 MB/s

    You're welcome.

    Clear, thank you!

    And that is assuming that the enclosure is actually going at the speed
    of Thunderbolt rather than USB-C. Thunderbolt cables work in USB-C
    ports, and vice versa, but the connection will default to the slower
    speed of the two technologies involved.
    --
    CrudeSausage
    2019 Thinkpad E595
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 19:24:55 2026
    From Newsgroup: comp.os.linux.advocacy

    On 05/05/2026 19:04, Alan wrote:
    On 2026-05-05 09:59, John Bokma wrote:

    [grep and find]

    For example.

    I would assume you'd give the best example you could.

    I think it counts as a good example. Another example is that GNU grep
    seems to be 10x faster than macOS grep [1]. But in such cases this
    counts a lot I recommend to check out ripgrep.

    [..]
    Anyway, like I wrote, the GNU version of each is just an install away.
    True.

    But macOS as it comes is a fully-equipped command line system.

    It misses a package manager, for one.

    [1]
    <https://jlebar.com/2012/11/28/GNU_grep_is_10x_faster_than_Mac_grep.html>. Also an interesting read: <https://lists.freebsd.org/pipermail/freebsd-current/2010-August/019310.html> macOS used a *bsd version of grep.
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Brock McNuggets@brock.mcnuggets@gmail.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 17:27:37 2026
    From Newsgroup: comp.os.linux.advocacy

    On May 5, 2026 at 7:24:15 AM MST, ""Joel W. Crump"" wrote <i4nKR.737372$yK%7.513208@fx14.iad>:

    On 5/5/2026 9:54 AM, Brock McNuggets wrote:
    On May 5, 2026 at 5:55:28 AM MST, "CrudeSausage" wrote
    <69f9e8c0$1$26$882e4bbb@reader.netnews.com>:
    On 2026-05-04 8:54 p.m., Lawrence D’Oliveiro wrote:

    Are Mac users really brave enough to try command-line tools?

    <https://www.zdnet.com/article/macos-command-line-utilities-that-are-far-more-useful-than-you-think/>

    All of them are available for Linux, and are probably easier to
    install and use there than on a Mac.

    Guess where the “real Unix” is to be found ...

    I'll just bet that these applications are all free too, whereas a Mac
    user is usually pushed toward buying something to do the same thing
    inside of a GUI. There is nothing with either approach, but if you can
    save money by doing something inside a terminal, you might as well do so. >>
    One thing I like about macOS is the level of choice. A UNIX CLI with a world >> class GUI. It is what I wanted for many years before macOS ever existed.

    I find Linux gives me that, more so than macOS would. Then again, I
    just don't dig the Mac ecosystem. For one who's primed on Apple's GUI,
    the Unix components would be an excellent bonus indeed.

    For me, I prefer the Linux command line. Has more by default and is generally faster. I like the relative consistency and built in OS tools of macOS... but there are times when it has things you cannot change and you are just stuck. Some people hate the new "Liquid Glass" look. I do not mind it -- but the change happened whether I wanted it or not. Linux gives you more choice there. Also sometimes there are features I want where I need third parties -- for example I use third party for clipboard management, window management, mouse features, text expansion, screenshots (some), and more. For folks who do not like such additions to macOS it can be limiting... and Apple does have you
    jump through some hoops for security purposes to set these things up. Can be a hurdle some do not want to deal with.

    And I am pretty grossly outdated on Linux... have not used it in any real capacity in years. It was getting better and better -- I am sure that has continued.
    --
    It's impossible for someone who is at war with themselves to be at peace with you.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 19:32:05 2026
    From Newsgroup: comp.os.linux.advocacy

    On 05/05/2026 19:27, Brock McNuggets wrote:

    [..]
    For me, I prefer the Linux command line. Has more by default and is generally faster.

    One can (almost) always install the same command on macOS.

    I like the relative consistency and built in OS tools of macOS... but
    there are times when it has things you cannot change and you are just stuck.

    Example?
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Joel W. Crump@joelcrump@gmail.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 13:35:38 2026
    From Newsgroup: comp.os.linux.advocacy

    On 5/5/2026 11:13 AM, John Bokma wrote:

    good for you, but most people would rather not pay $200 for half of a
    512 GB SSD.

    They might have too soon if prices keep going up. Question is what is
    Apple going to do with the increased memory / SSD prices.


    I dunno, I mean, I got a 1 TB NVMe drive in 2021 for a little over $100,
    as a part. FFS, the prices can't be *that* much higher five years
    later. But with Apple, the price isn't really based on actual cost, but luxury.
    --
    Joel W. Crump
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 19:41:31 2026
    From Newsgroup: comp.os.linux.advocacy

    On 05/05/2026 19:35, Joel W. Crump wrote:
    On 5/5/2026 11:13 AM, John Bokma wrote:

    good for you, but most people would rather not pay $200 for half of a
    512 GB SSD.

    They might have too soon if prices keep going up. Question is what is
    Apple going to do with the increased memory / SSD prices.


    I dunno, I mean, I got a 1 TB NVMe drive in 2021 for a little over $100,
    as a part.  FFS, the prices can't be *that* much higher five years
    later.  But with Apple, the price isn't really based on actual cost, but luxury.

    From what I understand one pays now twice as much...
    "What's going on with NVME SSD prices? From $166.98 to $395 in a year? I
    was about to order another SSD to play with other OS's and dual boot,
    but I guess that's not happening now. This is half complaint and half
    serious question. " <https://www.reddit.com/r/PcBuild/comments/1rzdusk/whats_going_on_with_nvme_ssd_prices/>

    Soon SSD is luxury ;-).
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Brock McNuggets@brock.mcnuggets@gmail.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 17:50:08 2026
    From Newsgroup: comp.os.linux.advocacy

    On May 5, 2026 at 10:32:05 AM MST, "John Bokma" wrote <10td9im$jmc1$1@dont-email.me>:

    On 05/05/2026 19:27, Brock McNuggets wrote:

    [..]
    For me, I prefer the Linux command line. Has more by default and is generally
    faster.

    One can (almost) always install the same command on macOS.

    True... but Linux comes with more. There are also different flags and it is usually easier to find Linux info. But it is minor... and with HomeBrew even less. For my use it is all but a non-issue except there are places Linux is faster.

    I like the relative consistency and built in OS tools of macOS... but
    there are times when it has things you cannot change and you are just stuck.

    Example?

    Of the relative consistency or being largely "stuck"? With the latter, while there are Finder replacements they are rare. I happen to like the Finder...
    but it has a set of features (with a fair number of options). On Linux you
    can, of course, get a wider range of file browsers. On any of them you are still going to have some limitations, such as renaming open files being less reliable than on macOS.

    Ever the "traffic light" window controls -- they do not bother me but for some they do and it is not the norm to change them (I am sure there are third party tools to do so). Oh and the top menu! Biggie... yes, you can get third party
    to somewhat alter that but it is the norm and with larger monitors it no
    longer has the advantages it did with smaller ones. You are limited with some hardware because of Kernel Extensions... while rarely is an issue in the real world it is not a non-issue.
    --
    It's impossible for someone who is at war with themselves to be at peace with you.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From CrudeSausage@crude@sausa.ge to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 13:53:26 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-05 1:41 p.m., John Bokma wrote:
    On 05/05/2026 19:35, Joel W. Crump wrote:
    On 5/5/2026 11:13 AM, John Bokma wrote:

    good for you, but most people would rather not pay $200 for half of
    a 512 GB SSD.

    They might have too soon if prices keep going up. Question is what is
    Apple going to do with the increased memory / SSD prices.


    I dunno, I mean, I got a 1 TB NVMe drive in 2021 for a little over
    $100, as a part.  FFS, the prices can't be *that* much higher five
    years later.  But with Apple, the price isn't really based on actual
    cost, but luxury.

    From what I understand one pays now twice as much...
    "What's going on with NVME SSD prices? From $166.98 to $395 in a year? I
    was about to order another SSD to play with other OS's and dual boot,
    but I guess that's not happening now. This is half complaint and half serious question. "
    <https://www.reddit.com/r/PcBuild/comments/1rzdusk/ whats_going_on_with_nvme_ssd_prices/>

    Soon SSD is luxury ;-).

    I _just_ missed the ridiculous price increases when I bought my 2 TB
    Samsung 990 EVO for $175 CAD last year. The price has doubled since. The
    way things are going, I will probably just wait for my laptop to
    completely die before I replace it.
    --
    CrudeSausage
    2019 Thinkpad E595
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 19:55:57 2026
    From Newsgroup: comp.os.linux.advocacy

    On 05/05/2026 19:50, Brock McNuggets wrote:
    On May 5, 2026 at 10:32:05 AM MST, "John Bokma" wrote <10td9im$jmc1$1@dont-email.me>:

    On 05/05/2026 19:27, Brock McNuggets wrote:

    [..]
    For me, I prefer the Linux command line. Has more by default and is generally
    faster.

    One can (almost) always install the same command on macOS.

    True... but Linux comes with more. There are also different flags and it is

    If one installs the GNU version the flags are identical: it's the same command.

    usually easier to find Linux info.

    If you have installed the GNU version, you can use the same info on macOS.

    But it is minor... and with HomeBrew even less.

    Yup, my point.

    For my use it is all but a non-issue except there are places Linux is
    faster.

    Sure, one can buy faster Linux hardware than hardware running macOS.
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Brock McNuggets@brock.mcnuggets@gmail.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 17:59:30 2026
    From Newsgroup: comp.os.linux.advocacy

    On May 5, 2026 at 10:55:57 AM MST, "John Bokma" wrote <10tdavg$k6r1$1@dont-email.me>:

    On 05/05/2026 19:50, Brock McNuggets wrote:
    On May 5, 2026 at 10:32:05 AM MST, "John Bokma" wrote
    <10td9im$jmc1$1@dont-email.me>:

    On 05/05/2026 19:27, Brock McNuggets wrote:

    [..]
    For me, I prefer the Linux command line. Has more by default and is generally
    faster.

    One can (almost) always install the same command on macOS.

    True... but Linux comes with more. There are also different flags and it is

    If one installs the GNU version the flags are identical: it's the same command.

    Ok. But not for the default ones. I have not replaced commands (though I have HomeBrew so maybe with some dependancies I have?)

    usually easier to find Linux info.

    If you have installed the GNU version, you can use the same info on macOS.

    But it is minor... and with HomeBrew even less.

    Yup, my point.

    Right. Especially for someone like me who tends to use the GUI it really is a non-issue.

    For my use it is all but a non-issue except there are places Linux is
    faster.

    Sure, one can buy faster Linux hardware than hardware running macOS.

    Even on comparable hardware -- maybe it is just file system differences. Or maybe even just I tend to have a LOT more on macOS systems, given they are my primary OS.
    --
    It's impossible for someone who is at war with themselves to be at peace with you.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 20:04:19 2026
    From Newsgroup: comp.os.linux.advocacy

    On 05/05/2026 19:59, Brock McNuggets wrote:
    On May 5, 2026 at 10:55:57 AM MST, "John Bokma" wrote <10tdavg$k6r1$1@dont-email.me>:

    [..]

    If one installs the GNU version the flags are identical: it's the same
    command.

    Ok. But not for the default ones. I have not replaced commands (though I have HomeBrew so maybe with some dependancies I have?)

    I have only experience with Mac ports. If you install GNU commands you
    have to prefix them with g, e.g. gfind, gls, ggrep. You *can* "remove"
    this prefix, though, see note at the bottom of <https://ports.macports.org/port/coreutils/details/>
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Brock McNuggets@brock.mcnuggets@gmail.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 18:14:24 2026
    From Newsgroup: comp.os.linux.advocacy

    On May 5, 2026 at 11:04:19 AM MST, "John Bokma" wrote <10tdbf4$kcdb$1@dont-email.me>:

    On 05/05/2026 19:59, Brock McNuggets wrote:
    On May 5, 2026 at 10:55:57 AM MST, "John Bokma" wrote
    <10tdavg$k6r1$1@dont-email.me>:

    [..]

    If one installs the GNU version the flags are identical: it's the same
    command.

    Ok. But not for the default ones. I have not replaced commands (though I have
    HomeBrew so maybe with some dependancies I have?)

    I have only experience with Mac ports. If you install GNU commands you
    have to prefix them with g, e.g. gfind, gls, ggrep. You *can* "remove"
    this prefix, though, see note at the bottom of <https://ports.macports.org/port/coreutils/details/>

    Good to know. Thanks. I mostly just use the built in tools but my use is
    pretty minimal. I have been doing some more, but even then I have AI make anything complex. I know enough to check it to see if it is likely to cause harm and not much more.
    --
    It's impossible for someone who is at war with themselves to be at peace with you.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 20:15:59 2026
    From Newsgroup: comp.os.linux.advocacy

    On 05/05/2026 20:04, John Bokma wrote:
    On 05/05/2026 19:59, Brock McNuggets wrote:
    On May 5, 2026 at 10:55:57 AM MST, "John Bokma" wrote
    <10tdavg$k6r1$1@dont-email.me>:

    [..]

    If one installs the GNU version the flags are identical: it's the same
    command.

    Ok. But not for the default ones. I have not replaced commands (though
    I have
    HomeBrew so maybe with some dependancies I have?)

    I have only experience with Mac ports. If you install GNU commands you
    have to prefix them with g, e.g. gfind, gls, ggrep. You *can* "remove"
    this prefix, though, see note at the bottom of <https://ports.macports.org/port/coreutils/details/>

    It is the same with homebrew: g prefix, which can be "removed": <https://formulae.brew.sh/formula/coreutils>
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 11:22:39 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-05 10:21, CrudeSausage wrote:
    On 2026-05-05 12:49 p.m., John Bokma wrote:
    On 05/05/2026 18:14, Alan wrote:
    On 2026-05-05 09:08, John Bokma wrote:
    On 05/05/2026 18:02, CrudeSausage wrote:

    [..]
    While I don't think my M4 Air is appropriate to play games, if I did >>>>
    Depends on what games you want to play.

    play them on the unit and considering the small 256GB capacity, I
    would use an NVMe in an enclosure and install the games onto it.
    It's not ideal, but it solves a problem. To be honest, I'm not sure >>>>> what the performance difference would be with this approach.

    It might be faster, depending on the SSD, is my understanding.


    Your understanding needs updating.

    The fastest an external SSD can transfer is using Thunderbolt 4 (or
    USB4) is about 3,100 MB/s.

    The internal SSD of a MacBook Air is 3,500-4,000 MB/s

    You're welcome.

    Clear, thank you!

    And that is assuming that the enclosure is actually going at the speed
    of Thunderbolt rather than USB-C. Thunderbolt cables work in USB-C
    ports, and vice versa, but the connection will default to the slower
    speed of the two technologies involved.


    Actually, you can't sensibly talk about USB-C and Thunderbolt as if they
    both represent the same thing.

    Thunderbolt is a group of peripheral interface connection standards: Thunderbolt, Thunderbolt 2, 3, 4, and now 5.

    USB-C is a physical connector.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Joel W. Crump@joelcrump@gmail.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 14:26:27 2026
    From Newsgroup: comp.os.linux.advocacy

    On 5/5/2026 1:27 PM, Brock McNuggets wrote:
    On May 5, 2026 at 7:24:15 AM MST, ""Joel W. Crump"" wrote <i4nKR.737372$yK%7.513208@fx14.iad>:
    On 5/5/2026 9:54 AM, Brock McNuggets wrote:

    One thing I like about macOS is the level of choice. A UNIX CLI with a world
    class GUI. It is what I wanted for many years before macOS ever existed.

    I find Linux gives me that, more so than macOS would. Then again, I
    just don't dig the Mac ecosystem. For one who's primed on Apple's GUI,
    the Unix components would be an excellent bonus indeed.

    For me, I prefer the Linux command line. Has more by default and is generally faster. I like the relative consistency and built in OS tools of macOS... but there are times when it has things you cannot change and you are just stuck. Some people hate the new "Liquid Glass" look. I do not mind it -- but the change happened whether I wanted it or not. Linux gives you more choice there.
    Also sometimes there are features I want where I need third parties -- for example I use third party for clipboard management, window management, mouse features, text expansion, screenshots (some), and more. For folks who do not like such additions to macOS it can be limiting... and Apple does have you jump through some hoops for security purposes to set these things up. Can be a
    hurdle some do not want to deal with.

    And I am pretty grossly outdated on Linux... have not used it in any real capacity in years. It was getting better and better -- I am sure that has continued.


    Linux is fabulous. What you can do with something like Debian or
    Fedora, or just Mint, being open-source, it's just marvelous. I'm
    running Win11 for convenience. But Linux is a "home base", as it were.
    --
    Joel W. Crump
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Brock McNuggets@brock.mcnuggets@gmail.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 18:46:35 2026
    From Newsgroup: comp.os.linux.advocacy

    On May 5, 2026 at 11:26:27 AM MST, ""Joel W. Crump"" wrote <nDqKR.444196$JCM5.289416@fx04.iad>:

    On 5/5/2026 1:27 PM, Brock McNuggets wrote:
    On May 5, 2026 at 7:24:15 AM MST, ""Joel W. Crump"" wrote
    <i4nKR.737372$yK%7.513208@fx14.iad>:
    On 5/5/2026 9:54 AM, Brock McNuggets wrote:

    One thing I like about macOS is the level of choice. A UNIX CLI with a world
    class GUI. It is what I wanted for many years before macOS ever existed. >>>
    I find Linux gives me that, more so than macOS would. Then again, I
    just don't dig the Mac ecosystem. For one who's primed on Apple's GUI,
    the Unix components would be an excellent bonus indeed.

    For me, I prefer the Linux command line. Has more by default and is generally
    faster. I like the relative consistency and built in OS tools of macOS... but
    there are times when it has things you cannot change and you are just stuck. >> Some people hate the new "Liquid Glass" look. I do not mind it -- but the
    change happened whether I wanted it or not. Linux gives you more choice there.
    Also sometimes there are features I want where I need third parties -- for >> example I use third party for clipboard management, window management, mouse >> features, text expansion, screenshots (some), and more. For folks who do not >> like such additions to macOS it can be limiting... and Apple does have you >> jump through some hoops for security purposes to set these things up. Can be a
    hurdle some do not want to deal with.

    And I am pretty grossly outdated on Linux... have not used it in any real
    capacity in years. It was getting better and better -- I am sure that has
    continued.

    Linux is fabulous. What you can do with something like Debian or
    Fedora, or just Mint, being open-source, it's just marvelous. I'm
    running Win11 for convenience. But Linux is a "home base", as it were.

    Oh, I prefer macOS but Linux is amazing, ESPECIALLY considering it is free to be used and open source.
    --
    It's impossible for someone who is at war with themselves to be at peace with you.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From chrisv@chrisv@nospam.invalid to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 15:36:32 2026
    From Newsgroup: comp.os.linux.advocacy

    CrudeSausage wrote:

    John Bokma wrote:

    Soon SSD is luxury ;-).

    Let's hope not.

    I _just_ missed the ridiculous price increases when I bought my 2 TB
    Samsung 990 EVO for $175 CAD last year. The price has doubled since. The
    way things are going, I will probably just wait for my laptop to
    completely die before I replace it.

    With the Alder Lake and Raptor Lake PC's that I built in the last few
    years, I'm good for another five years or more.

    Video card prices are actually still OK. I suppose because fewer new
    gaming PC's are being built.
    --
    "One [jpeg] was quickly replaced once I noted the EXIF data." - the
    "Snit" thing, lying shamelessly (but no one can quote it lying)
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 21:45:20 2026
    From Newsgroup: comp.os.linux.advocacy

    On 05 May 2026 13:54:10 GMT, Brock McNuggets wrote:

    One thing I like about macOS is the level of choice. A UNIX CLI with
    a world class GUI.

    Only one?
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 21:46:05 2026
    From Newsgroup: comp.os.linux.advocacy

    On Tue, 5 May 2026 17:37:37 +0200, John Bokma wrote:

    On 05/05/2026 02:54, Lawrence D’Oliveiro wrote:

    Are Mac users really brave enough to try command-line tools?

    Of course. Projects like homebrew and Mac Ports show that there is a
    serious interest in cli tools for macOS. Also Nix provides a huge
    number of packages for macOS.

    Do they all offer the same packages? Or do you need to install more
    than one to get the full range?
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From chrisv@chrisv@nospam.invalid to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 17:02:06 2026
    From Newsgroup: comp.os.linux.advocacy

    Lawrence DOliveiro wrote:

    some thing wrote:

    One thing I like about macOS is the level of choice. A UNIX CLI with
    a world class GUI.

    Only one?

    Only one is needed, for everyone on the planet, according to that
    thing. Everyone from toddlers to computer experts, and from office
    workers to scientists.

    That thing is as stupid as it is dishonest.
    --
    "That is not a gain from a diversity of UIs. A single well designed
    GUI would serve all of the GUI needs just fine." - some thing
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 22:18:40 2026
    From Newsgroup: comp.os.linux.advocacy

    On 05 May 2026 17:50:08 GMT, Brock McNuggets wrote:

    On May 5, 2026 at 10:32:05 AM MST, "John Bokma" wrote <10td9im$jmc1$1@dont-email.me>:

    One can (almost) always install the same command on macOS.

    True... but Linux comes with more. There are also different flags
    and it is usually easier to find Linux info.

    Most Linux systems use the GNU tools, as Richard Stallman never tires
    of reminding us ;).

    Back in the days when “Unix” meant something, it was quite common for sysadmins, when setting up a Unix workstation or server for the first
    time, to immediately install a bunch of the GNU tools, and use them in preference to the vendor-provided equivalents. The GNU versions were
    usually less buggy, more featureful, and also often more
    standards-compliant.

    So you could say that Apple’s “Unix” continues this tradition ...
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 22:37:34 2026
    From Newsgroup: comp.os.linux.advocacy

    On Tue, 5 May 2026 20:04:19 +0200, John Bokma wrote:

    If you install GNU commands you have to prefix them with g, e.g.
    gfind, gls, ggrep.

    If you do that, is there a chance you could cause conflicts with
    scripts that rely on the Apple-provided utilities by that name?

    If you don’t do that, how do you exchange compatible scripts with
    Linux systems, or even BSD ones?
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From CrudeSausage@crude@sausa.ge to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 18:45:27 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-05 4:36 p.m., chrisv wrote:
    CrudeSausage wrote:

    John Bokma wrote:

    Soon SSD is luxury ;-).

    Let's hope not.

    I _just_ missed the ridiculous price increases when I bought my 2 TB
    Samsung 990 EVO for $175 CAD last year. The price has doubled since. The
    way things are going, I will probably just wait for my laptop to
    completely die before I replace it.

    With the Alder Lake and Raptor Lake PC's that I built in the last few
    years, I'm good for another five years or more.

    Video card prices are actually still OK. I suppose because fewer new
    gaming PC's are being built.

    I notice that gaming laptops are not yet prohibitively expensive. Anal
    pointed out that the new edition of the Zephyrus G14, a machine I would
    have preferred, is now at $4,299 CAD. However, machines with an RTX
    5060, the natural evolution from my RTX 3060, can be acquired in the $1,500-2,500 range. I'm getting the feeling that RAM and storage prices
    aren't affecting manufacturers the way they are individuals. Either
    that, or those machines are all complete garbage despite the good
    reviews they've gotten.
    --
    CrudeSausage
    M4 MacBook Air
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Brock McNuggets@brock.mcnuggets@gmail.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 22:48:47 2026
    From Newsgroup: comp.os.linux.advocacy

    On May 5, 2026 at 3:18:40 PM MST, "Lawrence D´Oliveiro" wrote <10tdqc0$ovr0$2@dont-email.me>:

    On 05 May 2026 17:50:08 GMT, Brock McNuggets wrote:

    On May 5, 2026 at 10:32:05 AM MST, "John Bokma" wrote
    <10td9im$jmc1$1@dont-email.me>:

    One can (almost) always install the same command on macOS.

    True... but Linux comes with more. There are also different flags
    and it is usually easier to find Linux info.

    Most Linux systems use the GNU tools, as Richard Stallman never tires
    of reminding us ;).

    Back in the days when “Unix” meant something, it was quite common for sysadmins, when setting up a Unix workstation or server for the first
    time, to immediately install a bunch of the GNU tools, and use them in preference to the vendor-provided equivalents. The GNU versions were
    usually less buggy, more featureful, and also often more
    standards-compliant.

    So you could say that Apple’s “Unix” continues this tradition ...

    LOL! They work well enough for my very limited needs.

    Back in the day I used vi (pre vim) quite a bit. But that was LOOOOONG ago. I have long since forgotten most of what I knew about it.
    --
    It's impossible for someone who is at war with themselves to be at peace with you.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Brock McNuggets@brock.mcnuggets@gmail.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 5 23:00:28 2026
    From Newsgroup: comp.os.linux.advocacy

    On May 5, 2026 at 2:45:20 PM MST, "Lawrence D´Oliveiro" wrote <10tdodf$oc5h$1@dont-email.me>:

    On 05 May 2026 13:54:10 GMT, Brock McNuggets wrote:

    One thing I like about macOS is the level of choice. A UNIX CLI with
    a world class GUI.

    Only one?

    Multiple shells... but it used to not have that. I wanted it for a long time, but cannot find any public stating of that before 1995. But from that year:

    <http://goo.gl/0wHM> Jul 18 1995 <3uh4b8$be3@news.nevada.edu>
    -----
    if DOS were a combo of UNIX and Mac it would be cool. I
    just wish we had something that combined the two. In theory
    that is the way both UNIX and Mac are growing
    -----

    <http://goo.gl/EDip> Jul 19 1995 <3ujt0s$535@news.nevada.edu>
    -----
    But UNIX does have some advantages over the Mac... a CLI
    would be a great addition to the Mac. I would say that
    between Mac and UNIX you have the best operating systems
    around.
    -----

    <http://goo.gl/vrLf> Aug 10 1995 <40d96e$7ke@news.nevada.edu>
    -----
    The Mac is not the end all in computer technology. Where it
    fails, UNIX excels. Between the two, there is almost no task
    that computers would be used for that can not be done. And
    one or the other will beat the competition in almost every
    area.
    -----

    In that last one I spoke of piping commands in a GUI. With Automator / Shortcuts, Apple does now have this to SOME extent. Would like to see that grow. They also have some of that with "Shortcuts" on iOS.
    --
    It's impossible for someone who is at war with themselves to be at peace with you.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 6 16:41:24 2026
    From Newsgroup: comp.os.linux.advocacy

    On 05/05/2026 23:46, Lawrence D’Oliveiro wrote:
    On Tue, 5 May 2026 17:37:37 +0200, John Bokma wrote:

    On 05/05/2026 02:54, Lawrence D’Oliveiro wrote:

    Are Mac users really brave enough to try command-line tools?

    Of course. Projects like homebrew and Mac Ports show that there is a
    serious interest in cli tools for macOS. Also Nix provides a huge
    number of packages for macOS.

    Do they all offer the same packages? Or do you need to install more
    than one to get the full range?

    I have no idea. Based on my experience homebrew is a safe bet: most open source I have seen has instructions on how to install via homebrew.

    In the near future I want to check out nix.
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 6 16:44:00 2026
    From Newsgroup: comp.os.linux.advocacy

    On 06/05/2026 00:37, Lawrence D’Oliveiro wrote:
    On Tue, 5 May 2026 20:04:19 +0200, John Bokma wrote:

    If you install GNU commands you have to prefix them with g, e.g.
    gfind, gls, ggrep.

    If you do that, is there a chance you could cause conflicts with
    scripts that rely on the Apple-provided utilities by that name?

    Removing the prefix you mean? They overrule the Apple provided command
    line tools in that case, yes.

    If you don’t do that, how do you exchange compatible scripts with
    Linux systems, or even BSD ones?

    Apple uses the BSD ones. So if you want to write scripts for Linux *and*
    BSD and you want to use a feature not provided by the BSD (macOS)
    version of a command line program you have to find a work around.
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From CrudeSausage@crude@sausa.ge to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 6 12:24:42 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-06 10:41 a.m., John Bokma wrote:
    On 05/05/2026 23:46, Lawrence D’Oliveiro wrote:
    On Tue, 5 May 2026 17:37:37 +0200, John Bokma wrote:

    On 05/05/2026 02:54, Lawrence D’Oliveiro wrote:

    Are Mac users really brave enough to try command-line tools?

    Of course. Projects like homebrew and Mac Ports show that there is a
    serious interest in cli tools for macOS. Also Nix provides a huge
    number of packages for macOS.

    Do they all offer the same packages? Or do you need to install more
    than one to get the full range?

    I have no idea. Based on my experience homebrew is a safe bet: most open source I have seen has instructions on how to install via homebrew.

    In the near future I want to check out nix.

    Prepare to be disappointed.
    --
    CrudeSausage
    2019 Thinkpad E595
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 6 18:27:37 2026
    From Newsgroup: comp.os.linux.advocacy

    On 06/05/2026 18:24, CrudeSausage wrote:
    On 2026-05-06 10:41 a.m., John Bokma wrote:

    [..]

    In the near future I want to check out nix.

    Prepare to be disappointed.

    Why?[1]

    [1] I mean the package manager ;-)
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From CrudeSausage@crude@sausa.ge to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 6 12:31:11 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-06 12:27 p.m., John Bokma wrote:
    On 06/05/2026 18:24, CrudeSausage wrote:
    On 2026-05-06 10:41 a.m., John Bokma wrote:

    [..]

    In the near future I want to check out nix.

    Prepare to be disappointed.

    Why?[1]

    [1] I mean the package manager ;-)

    Linux is filled with excellent ideas that simply aren't executed
    properly. Additionally, it has been conquered by the faggot community
    which pushes its narrative into the system rather than anything
    resembling improvements.
    --
    CrudeSausage
    2019 Thinkpad E595
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 6 18:45:32 2026
    From Newsgroup: comp.os.linux.advocacy

    On 06/05/2026 18:31, CrudeSausage wrote:
    On 2026-05-06 12:27 p.m., John Bokma wrote:
    On 06/05/2026 18:24, CrudeSausage wrote:
    On 2026-05-06 10:41 a.m., John Bokma wrote:

    [..]

    In the near future I want to check out nix.

    Prepare to be disappointed.

    Why?[1]

    [1] I mean the package manager ;-)

    Linux is filled with excellent ideas that simply aren't executed
    properly.

    It's a package manager. Not Linux.
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From CrudeSausage@crude@sausa.ge to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 6 12:56:35 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-06 12:45 p.m., John Bokma wrote:
    On 06/05/2026 18:31, CrudeSausage wrote:
    On 2026-05-06 12:27 p.m., John Bokma wrote:
    On 06/05/2026 18:24, CrudeSausage wrote:
    On 2026-05-06 10:41 a.m., John Bokma wrote:

    [..]

    In the near future I want to check out nix.

    Prepare to be disappointed.

    Why?[1]

    [1] I mean the package manager ;-)

    Linux is filled with excellent ideas that simply aren't executed
    properly.

    It's a package manager. Not Linux.


    The actual package manager is called nix?
    --
    CrudeSausage
    2019 Thinkpad E595
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 6 19:09:39 2026
    From Newsgroup: comp.os.linux.advocacy

    On 06/05/2026 18:56, CrudeSausage wrote:

    The actual package manager is called nix?

    Yes. And the OS is called NixOS: <https://nixos.org/>
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 6 10:37:24 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-04 17:54, Lawrence D’Oliveiro wrote:
    Are Mac users really brave enough to try command-line tools?

    <https://www.zdnet.com/article/macos-command-line-utilities-that-are-far-more-useful-than-you-think/>

    All of them are available for Linux, and are probably easier to
    install and use there than on a Mac.

    Guess where the “real Unix” is to be found ...

    So I took a look at the article and it extolled the virtues of "ag"

    'The ag command allows you to search for strings within files. Even
    better, ag searches multiple files for the same string. Say you have a
    bunch of text files in your Documents directory and you need to know
    which of them contain ZDNET. The ag command will not only tell you which
    files contain the string, but it'll do it very quickly.'

    Sounds great, right? DEFINITELY something I need to have on macOS, right?

    Well...I DO have it. And actually, it's much better than ag.

    It's called "mdfind".

    I even used their example of searching for "zdnet", but I didn't search
    my Documents folder. I searched my entire drive.

    It took less than a second.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 6 19:52:16 2026
    From Newsgroup: comp.os.linux.advocacy

    On 06/05/2026 19:37, Alan wrote:
    [..]
    Well...I DO have it. And actually, it's much better than ag.

    It's called "mdfind".

    While there is some overlap, they are very different tools.
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From CrudeSausage@crude@sausa.ge to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 6 14:04:39 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-06 1:09 p.m., John Bokma wrote:
    On 06/05/2026 18:56, CrudeSausage wrote:

    The actual package manager is called nix?

    Yes. And the OS is called NixOS: <https://nixos.org/>

    And NixOS is not Linux?
    --
    CrudeSausage
    2019 Thinkpad E595
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From CrudeSausage@crude@sausa.ge to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 6 14:05:17 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-06 1:09 p.m., John Bokma wrote:
    On 06/05/2026 18:56, CrudeSausage wrote:

    The actual package manager is called nix?

    Yes. And the OS is called NixOS: <https://nixos.org/>

    Literally from the NixOS.org page:

    "NixOS is a Linux distribution built around the Nix package manager."
    --
    CrudeSausage
    2019 Thinkpad E595
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 6 11:58:14 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-06 10:52, John Bokma wrote:
    On 06/05/2026 19:37, Alan wrote:
    [..]
    Well...I DO have it. And actually, it's much better than ag.

    It's called "mdfind".

    While there is some overlap, they are very different tools.


    They ARE different tools!

    But the one thing the article specifically highlights...

    ...is already done far, FAR better by mdfind.

    That's just a fact.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 6 21:57:27 2026
    From Newsgroup: comp.os.linux.advocacy

    On 06/05/2026 20:58, Alan wrote:
    On 2026-05-06 10:52, John Bokma wrote:
    On 06/05/2026 19:37, Alan wrote:
    [..]
    Well...I DO have it. And actually, it's much better than ag.

    It's called "mdfind".

    While there is some overlap, they are very different tools.


    They ARE different tools!

    But the one thing the article specifically highlights...

    ...is already done far, FAR better by mdfind.

    That's just a fact.

    Can you show me how to use mdfind to:

    search in all python only files for the word 'cat' showing the line the
    word 'cat' is found on and the 3 lines before this line and 2 after?
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 6 21:58:10 2026
    From Newsgroup: comp.os.linux.advocacy

    On 06/05/2026 20:04, CrudeSausage wrote:
    On 2026-05-06 1:09 p.m., John Bokma wrote:
    On 06/05/2026 18:56, CrudeSausage wrote:

    The actual package manager is called nix?

    Yes. And the OS is called NixOS: <https://nixos.org/>

    And NixOS is not Linux?

    Yes, it's Linux. However, Nix (the package manager) can be used without
    Linux.
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 6 22:00:43 2026
    From Newsgroup: comp.os.linux.advocacy

    On 06/05/2026 20:05, CrudeSausage wrote:
    On 2026-05-06 1:09 p.m., John Bokma wrote:
    On 06/05/2026 18:56, CrudeSausage wrote:

    The actual package manager is called nix?

    Yes. And the OS is called NixOS: <https://nixos.org/>

    Literally from the NixOS.org page:

    "NixOS is a Linux distribution built around the Nix package manager."

    The package manager is also available outside of NixOS. i.e. it runs on
    macOS as well.
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 6 13:34:55 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-06 12:57, John Bokma wrote:
    On 06/05/2026 20:58, Alan wrote:
    On 2026-05-06 10:52, John Bokma wrote:
    On 06/05/2026 19:37, Alan wrote:
    [..]
    Well...I DO have it. And actually, it's much better than ag.

    It's called "mdfind".

    While there is some overlap, they are very different tools.


    They ARE different tools!

    But the one thing the article specifically highlights...

    ...is already done far, FAR better by mdfind.

    That's just a fact.

    Can you show me how to use mdfind to:

    search in all python only files for the word 'cat' showing the line the
    word 'cat' is found on and the 3 lines before this line and 2 after?



    Sure!

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 |
    xargs -0 grep -i -B 3 -A 2 "cat"

    Didn't need to install an additional piece of software at all!
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From CrudeSausage@crude@sausa.ge to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 6 18:45:49 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-06 3:58 p.m., John Bokma wrote:
    On 06/05/2026 20:04, CrudeSausage wrote:
    On 2026-05-06 1:09 p.m., John Bokma wrote:
    On 06/05/2026 18:56, CrudeSausage wrote:

    The actual package manager is called nix?

    Yes. And the OS is called NixOS: <https://nixos.org/>

    And NixOS is not Linux?

    Yes, it's Linux. However, Nix (the package manager) can be used without Linux.

    Ah, that makes sense. Tell yourself that the term "nix" is commonly used
    to refer to Linux. Having never used Nix myself (because it is run by
    rabid leftists), I wasn't aware that they decided to take control of the
    term for themselves. How very Communist of them to take something that
    doesn't belong to them.
    --
    CrudeSausage
    M4 MacBook Air
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Thu May 7 01:34:15 2026
    From Newsgroup: comp.os.linux.advocacy

    On Wed, 6 May 2026 13:34:55 -0700, Alan wrote:


    Sure!

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 |
    xargs -0 grep -i -B 3 -A 2 "cat"

    Didn't need to install an additional piece of software at all!

    And this is easier than 'find . -name "*.py" | .....
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Wed May 6 19:31:12 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-06 18:34, rbowman wrote:
    On Wed, 6 May 2026 13:34:55 -0700, Alan wrote:


    Sure!

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 |
    xargs -0 grep -i -B 3 -A 2 "cat"

    Didn't need to install an additional piece of software at all!

    And this is easier than 'find . -name "*.py" | .....

    Faster... ...like a LOT faster; impossibly faster.

    On my drive with 2,711,067 files, running my command takes...

    (Running it again now)

    ...1 second.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From John Bokma@contact@johnbokma.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Thu May 7 12:08:28 2026
    From Newsgroup: comp.os.linux.advocacy

    On 06/05/2026 22:34, Alan wrote:
    On 2026-05-06 12:57, John Bokma wrote:

    [..]

    Can you show me how to use mdfind to:

    search in all python only files for the word 'cat' showing the line
    the word 'cat' is found on and the 3 lines before this line and 2 after?



    Sure!

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 |
    xargs -0 grep -i -B 3 -A 2 "cat"

    Didn't need to install an additional piece of software at all!

    Ok, fair enough, although you need extra commands.

    ag --python -B3 -A2 '\bcat\b'

    Easier to remember.
    --
    Static tumblelog generator: https://github.com/john-bokma/tumblelog/
    Available as Python or Perl. Example tumblelog: https://plurrrr.com/
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Thu May 7 07:27:48 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-07 03:08, John Bokma wrote:
    On 06/05/2026 22:34, Alan wrote:
    On 2026-05-06 12:57, John Bokma wrote:

    [..]

    Can you show me how to use mdfind to:

    search in all python only files for the word 'cat' showing the line
    the word 'cat' is found on and the 3 lines before this line and 2 after? >>>


    Sure!

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 |
    xargs -0 grep -i -B 3 -A 2 "cat"

    Didn't need to install an additional piece of software at all!

    Ok, fair enough, although you need extra commands.

    ag --python -B3 -A2 '\bcat\b'

    Easier to remember.


    Given that the tools exist to "remember" for you, that hardly matters,
    and I guarantee you that mdfind is orders of magnitude faster.

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris Ahlstrom@OFeem1987@teleworm.us to comp.os.linux.advocacy,comp.sys.mac.advocacy on Fri May 8 13:44:21 2026
    From Newsgroup: comp.os.linux.advocacy

    Alan wrote this screed in ALL-CAPS:

    On 2026-05-06 18:34, rbowman wrote:
    On Wed, 6 May 2026 13:34:55 -0700, Alan wrote:


    Sure!

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 |
    xargs -0 grep -i -B 3 -A 2 "cat"

    Didn't need to install an additional piece of software at all!

    And this is easier than 'find . -name "*.py" | .....

    Faster... ...like a LOT faster; impossibly faster.

    On my drive with 2,711,067 files, running my command takes...

    (Running it again now)

    ...1 second.

    Cached, obviously :-D
    --
    Main's Law:
    For every action there is an equal and opposite government program.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris Ahlstrom@OFeem1987@teleworm.us to comp.os.linux.advocacy,comp.sys.mac.advocacy on Fri May 8 13:52:29 2026
    From Newsgroup: comp.os.linux.advocacy

    Alan wrote this screed in ALL-CAPS:

    On 2026-05-07 03:08, John Bokma wrote:
    On 06/05/2026 22:34, Alan wrote:
    On 2026-05-06 12:57, John Bokma wrote:

    [..]

    Can you show me how to use mdfind to:

    search in all python only files for the word 'cat' showing the line
    the word 'cat' is found on and the 3 lines before this line and 2 after? >>>
    Sure!

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 |
    xargs -0 grep -i -B 3 -A 2 "cat"

    Didn't need to install an additional piece of software at all!

    Ok, fair enough, although you need extra commands.

    ag --python -B3 -A2 '\bcat\b'

    Easier to remember.

    Given that the tools exist to "remember" for you, that hardly matters,
    and I guarantee you that mdfind is orders of magnitude faster.

    Sounds a bit like UNIX locate/plocate.
    --
    If a train station is a place where a train stops, what's a workstation?
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Fri May 8 11:33:59 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-08 10:44, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-06 18:34, rbowman wrote:
    On Wed, 6 May 2026 13:34:55 -0700, Alan wrote:


    Sure!

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 |
    xargs -0 grep -i -B 3 -A 2 "cat"

    Didn't need to install an additional piece of software at all!

    And this is easier than 'find . -name "*.py" | .....

    Faster... ...like a LOT faster; impossibly faster.

    On my drive with 2,711,067 files, running my command takes...

    (Running it again now)

    ...1 second.

    Cached, obviously :-D
    Nope.

    Indexed.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Fri May 8 11:38:41 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-08 10:52, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-07 03:08, John Bokma wrote:
    On 06/05/2026 22:34, Alan wrote:
    On 2026-05-06 12:57, John Bokma wrote:

    [..]

    Can you show me how to use mdfind to:

    search in all python only files for the word 'cat' showing the line
    the word 'cat' is found on and the 3 lines before this line and 2 after? >>>>
    Sure!

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 |
    xargs -0 grep -i -B 3 -A 2 "cat"

    Didn't need to install an additional piece of software at all!

    Ok, fair enough, although you need extra commands.

    ag --python -B3 -A2 '\bcat\b'

    Easier to remember.

    Given that the tools exist to "remember" for you, that hardly matters,
    and I guarantee you that mdfind is orders of magnitude faster.

    Sounds a bit like UNIX locate/plocate.
    You need to learn a little more about how Apple implemented what in the
    GUI part of the OS is called "Spotlight".

    "mdfind" is just a command line tool that leverages the same index that
    is created for Spotlight.

    I just ran this:

    agbaker@Alans-M3 / % time mdfind ahlstrom

    The result:

    2026-05-08 11:37:24.286 mdfind[57515:2714553] [UserQueryParser] Loading keywords and predicates for locale "en_CA"

    2026-05-08 11:37:24.286 mdfind[57515:2714553] [UserQueryParser] Loading keywords and predicates for locale "en"

    /Users/agbaker/Library/Group
    Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main Profile/Data/Messages/109/6DCA995E-E984-4A01-8FEA-ECF490248F0B.olk15Message

    mdfind ahlstrom 0.04s user 0.06s system 38% cpu 0.259 total
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris Ahlstrom@OFeem1987@teleworm.us to comp.os.linux.advocacy,comp.sys.mac.advocacy on Sat May 9 08:59:21 2026
    From Newsgroup: comp.os.linux.advocacy

    Alan wrote this screed in ALL-CAPS:

    On 2026-05-08 10:44, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-06 18:34, rbowman wrote:
    On Wed, 6 May 2026 13:34:55 -0700, Alan wrote:


    Sure!

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 | >>>>> xargs -0 grep -i -B 3 -A 2 "cat"

    Didn't need to install an additional piece of software at all!

    And this is easier than 'find . -name "*.py" | .....

    Faster... ...like a LOT faster; impossibly faster.

    On my drive with 2,711,067 files, running my command takes...

    (Running it again now)

    ...1 second.

    Cached, obviously :-D

    Nope.

    Indexed.

    And cached.
    --
    poisoned coffee, n.:
    Grounds for divorce.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris Ahlstrom@OFeem1987@teleworm.us to comp.os.linux.advocacy,comp.sys.mac.advocacy on Sat May 9 09:06:32 2026
    From Newsgroup: comp.os.linux.advocacy

    Alan wrote this screed in ALL-CAPS:

    On 2026-05-08 10:52, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-07 03:08, John Bokma wrote:
    On 06/05/2026 22:34, Alan wrote:
    On 2026-05-06 12:57, John Bokma wrote:

    [..]

    Can you show me how to use mdfind to:

    search in all python only files for the word 'cat' showing the line >>>>>> the word 'cat' is found on and the 3 lines before this line and 2 after? >>>>>
    Sure!

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 | >>>>> xargs -0 grep -i -B 3 -A 2 "cat"

    Didn't need to install an additional piece of software at all!

    Ok, fair enough, although you need extra commands.

    ag --python -B3 -A2 '\bcat\b'

    Easier to remember.

    Given that the tools exist to "remember" for you, that hardly matters,
    and I guarantee you that mdfind is orders of magnitude faster.

    Sounds a bit like UNIX locate/plocate.

    You need to learn a little more about how Apple implemented what in the
    GUI part of the OS is called "Spotlight".

    "mdfind" is just a command line tool that leverages the same index that
    is created for Spotlight.

    Duh-uh. I found that out on my own.

    I just ran this:

    agbaker@Alans-M3 / % time mdfind ahlstrom

    The result:

    2026-05-08 11:37:24.286 mdfind[57515:2714553] [UserQueryParser] Loading keywords and predicates for locale "en_CA"

    2026-05-08 11:37:24.286 mdfind[57515:2714553] [UserQueryParser] Loading keywords and predicates for locale "en"

    /Users/agbaker/Library/Group
    Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main Profile/Data/Messages/109/6DCA995E-E984-4A01-8FEA-ECF490248F0B.olk15Message

    mdfind ahlstrom 0.04s user 0.06s system 38% cpu 0.259 total

    Whoop de do.

    $ time locate ahlstrom &> /dev/null
    real 0m1.027s
    user 0m0.927s
    sys 0m0.141s

    This is on my computer, and emits 442650 hits (as counted by
    piping the command to wc -l.)

    Another example, a more realistic use of locate:

    $ time locate vim
    real 0m0.043s
    user 0m0.015s
    sys 0m0.023s
    --
    Laundry is the fifth dimension!! ... um ... um ... th' washing machine
    is a black hole and the pink socks are bus drivers who just fell in!!
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Sat May 9 06:09:56 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-09 05:59, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-08 10:44, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-06 18:34, rbowman wrote:
    On Wed, 6 May 2026 13:34:55 -0700, Alan wrote:


    Sure!

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 | >>>>>> xargs -0 grep -i -B 3 -A 2 "cat"

    Didn't need to install an additional piece of software at all!

    And this is easier than 'find . -name "*.py" | .....

    Faster... ...like a LOT faster; impossibly faster.

    On my drive with 2,711,067 files, running my command takes...

    (Running it again now)

    ...1 second.

    Cached, obviously :-D

    Nope.

    Indexed.

    And cached.


    Nope.

    Yes, there is an index.

    No, nothing was cached.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Sat May 9 06:10:44 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-09 06:06, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-08 10:52, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-07 03:08, John Bokma wrote:
    On 06/05/2026 22:34, Alan wrote:
    On 2026-05-06 12:57, John Bokma wrote:

    [..]

    Can you show me how to use mdfind to:

    search in all python only files for the word 'cat' showing the line >>>>>>> the word 'cat' is found on and the 3 lines before this line and 2 after?

    Sure!

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 | >>>>>> xargs -0 grep -i -B 3 -A 2 "cat"

    Didn't need to install an additional piece of software at all!

    Ok, fair enough, although you need extra commands.

    ag --python -B3 -A2 '\bcat\b'

    Easier to remember.

    Given that the tools exist to "remember" for you, that hardly matters, >>>> and I guarantee you that mdfind is orders of magnitude faster.

    Sounds a bit like UNIX locate/plocate.

    You need to learn a little more about how Apple implemented what in the
    GUI part of the OS is called "Spotlight".

    "mdfind" is just a command line tool that leverages the same index that
    is created for Spotlight.

    Duh-uh. I found that out on my own.

    I just ran this:

    agbaker@Alans-M3 / % time mdfind ahlstrom

    The result:

    2026-05-08 11:37:24.286 mdfind[57515:2714553] [UserQueryParser] Loading
    keywords and predicates for locale "en_CA"

    2026-05-08 11:37:24.286 mdfind[57515:2714553] [UserQueryParser] Loading
    keywords and predicates for locale "en"

    /Users/agbaker/Library/Group
    Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main
    Profile/Data/Messages/109/6DCA995E-E984-4A01-8FEA-ECF490248F0B.olk15Message >>
    mdfind ahlstrom 0.04s user 0.06s system 38% cpu 0.259 total

    Whoop de do.

    $ time locate ahlstrom &> /dev/null
    real 0m1.027s
    user 0m0.927s
    sys 0m0.141s

    This is on my computer, and emits 442650 hits (as counted by
    piping the command to wc -l.)

    Another example, a more realistic use of locate:

    $ time locate vim
    real 0m0.043s
    user 0m0.015s
    sys 0m0.023s


    "locate" doesn't locate everything.

    "mdfind" and the system it uses indexing everything.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris Ahlstrom@OFeem1987@teleworm.us to comp.os.linux.advocacy,comp.sys.mac.advocacy on Sun May 10 08:06:18 2026
    From Newsgroup: comp.os.linux.advocacy

    Alan wrote this screed in ALL-CAPS:

    On 2026-05-09 05:59, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-08 10:44, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-06 18:34, rbowman wrote:
    On Wed, 6 May 2026 13:34:55 -0700, Alan wrote:


    Sure!

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 | >>>>>>> xargs -0 grep -i -B 3 -A 2 "cat"

    Didn't need to install an additional piece of software at all!

    And this is easier than 'find . -name "*.py" | .....

    Faster... ...like a LOT faster; impossibly faster.

    On my drive with 2,711,067 files, running my command takes...

    (Running it again now)

    ...1 second.

    Cached, obviously :-D

    Nope.

    Indexed.

    And cached.

    Nope.

    Yes, there is an index.

    No, nothing was cached.

    Are you saying that MacOS does not cache data? Data such as... an
    index?

    Surely you're joking, Mr. Fine Man!
    --
    Innocence ends when one is stripped of the delusion that one likes oneself.
    -- Joan Didion, "On Self Respect"
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris Ahlstrom@OFeem1987@teleworm.us to comp.os.linux.advocacy,comp.sys.mac.advocacy on Sun May 10 08:16:39 2026
    From Newsgroup: comp.os.linux.advocacy

    Alan wrote this screed in ALL-CAPS:

    On 2026-05-09 06:06, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-08 10:52, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-07 03:08, John Bokma wrote:
    On 06/05/2026 22:34, Alan wrote:
    On 2026-05-06 12:57, John Bokma wrote:

    [..]

    Can you show me how to use mdfind to:

    search in all python only files for the word 'cat' showing the line >>>>>>>> the word 'cat' is found on and the 3 lines before this line and 2 after?

    Sure!

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 | >>>>>>> xargs -0 grep -i -B 3 -A 2 "cat"

    Didn't need to install an additional piece of software at all!

    Ok, fair enough, although you need extra commands.

    ag --python -B3 -A2 '\bcat\b'

    Easier to remember.

    Given that the tools exist to "remember" for you, that hardly matters, >>>>> and I guarantee you that mdfind is orders of magnitude faster.

    Sounds a bit like UNIX locate/plocate.

    You need to learn a little more about how Apple implemented what in the
    GUI part of the OS is called "Spotlight".

    "mdfind" is just a command line tool that leverages the same index that
    is created for Spotlight.

    Duh-uh. I found that out on my own.

    I just ran this:

    agbaker@Alans-M3 / % time mdfind ahlstrom

    The result:

    2026-05-08 11:37:24.286 mdfind[57515:2714553] [UserQueryParser] Loading
    keywords and predicates for locale "en_CA"

    2026-05-08 11:37:24.286 mdfind[57515:2714553] [UserQueryParser] Loading
    keywords and predicates for locale "en"

    /Users/agbaker/Library/Group
    Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main
    Profile/Data/Messages/109/6DCA995E-E984-4A01-8FEA-ECF490248F0B.olk15Message >>>
    mdfind ahlstrom 0.04s user 0.06s system 38% cpu 0.259 total

    Whoop de do.

    $ time locate ahlstrom &> /dev/null
    real 0m1.027s
    user 0m0.927s
    sys 0m0.141s

    This is on my computer, and emits 442650 hits (as counted by
    piping the command to wc -l.)

    Another example, a more realistic use of locate:

    $ time locate vim
    real 0m0.043s
    user 0m0.015s
    sys 0m0.023s

    "locate" doesn't locate everything.

    Define "everything".

    "mdfind" and the system it uses indexing everything.

    You really need to be precise, because index all information on
    a disk would be huge.

    $ locate xyz

    This finds about 20 files on this system.

    Fwiw, /var/lib/plocate/plocate.db is about 22 Mb on this system.
    --
    Truth is free, but information costs.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From pothead@pothead@snakebite.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Sun May 10 12:24:50 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-10, Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-09 06:06, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-08 10:52, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-07 03:08, John Bokma wrote:
    On 06/05/2026 22:34, Alan wrote:
    On 2026-05-06 12:57, John Bokma wrote:

    [..]

    Can you show me how to use mdfind to:

    search in all python only files for the word 'cat' showing the line >>>>>>>>> the word 'cat' is found on and the 3 lines before this line and 2 after?

    Sure!

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 | >>>>>>>> xargs -0 grep -i -B 3 -A 2 "cat"

    Didn't need to install an additional piece of software at all!

    Ok, fair enough, although you need extra commands.

    ag --python -B3 -A2 '\bcat\b'

    Easier to remember.

    Given that the tools exist to "remember" for you, that hardly matters, >>>>>> and I guarantee you that mdfind is orders of magnitude faster.

    Sounds a bit like UNIX locate/plocate.

    You need to learn a little more about how Apple implemented what in the >>>> GUI part of the OS is called "Spotlight".

    "mdfind" is just a command line tool that leverages the same index that >>>> is created for Spotlight.

    Duh-uh. I found that out on my own.

    I just ran this:

    agbaker@Alans-M3 / % time mdfind ahlstrom

    The result:

    2026-05-08 11:37:24.286 mdfind[57515:2714553] [UserQueryParser] Loading >>>> keywords and predicates for locale "en_CA"

    2026-05-08 11:37:24.286 mdfind[57515:2714553] [UserQueryParser] Loading >>>> keywords and predicates for locale "en"

    /Users/agbaker/Library/Group
    Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main
    Profile/Data/Messages/109/6DCA995E-E984-4A01-8FEA-ECF490248F0B.olk15Message

    mdfind ahlstrom 0.04s user 0.06s system 38% cpu 0.259 total

    Whoop de do.

    $ time locate ahlstrom &> /dev/null
    real 0m1.027s
    user 0m0.927s
    sys 0m0.141s

    This is on my computer, and emits 442650 hits (as counted by
    piping the command to wc -l.)

    Another example, a more realistic use of locate:

    $ time locate vim
    real 0m0.043s
    user 0m0.015s
    sys 0m0.023s

    "locate" doesn't locate everything.

    Define "everything".

    "mdfind" and the system it uses indexing everything.

    You really need to be precise, because index all information on
    a disk would be huge.

    $ locate xyz

    This finds about 20 files on this system.

    Fwiw, /var/lib/plocate/plocate.db is about 22 Mb on this system.

    It's 11.3 MB on my system.
    --
    pothead

    "Often imitated, never duplicated."

    "Socialism is the philosophy of failure,
    the creed of ignorance, and the gospel of envy.
    It's inherent virtue is the equal sharing of misery."

    -- Winston Churchill




    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Sun May 10 06:25:43 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-10 05:06, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-09 05:59, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-08 10:44, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-06 18:34, rbowman wrote:
    On Wed, 6 May 2026 13:34:55 -0700, Alan wrote:


    Sure!

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 | >>>>>>>> xargs -0 grep -i -B 3 -A 2 "cat"

    Didn't need to install an additional piece of software at all!

    And this is easier than 'find . -name "*.py" | .....

    Faster... ...like a LOT faster; impossibly faster.

    On my drive with 2,711,067 files, running my command takes...

    (Running it again now)

    ...1 second.

    Cached, obviously :-D

    Nope.

    Indexed.

    And cached.

    Nope.

    Yes, there is an index.

    No, nothing was cached.

    Are you saying that MacOS does not cache data? Data such as... an
    index?

    Surely you're joking, Mr. Fine Man!


    An index is not a cache.

    You were trying to imply that it ran fast because it had run immediately before.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Sun May 10 06:34:37 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-10 05:16, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-09 06:06, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-08 10:52, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-07 03:08, John Bokma wrote:
    On 06/05/2026 22:34, Alan wrote:
    On 2026-05-06 12:57, John Bokma wrote:

    [..]

    Can you show me how to use mdfind to:

    search in all python only files for the word 'cat' showing the line >>>>>>>>> the word 'cat' is found on and the 3 lines before this line and 2 after?

    Sure!

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 | >>>>>>>> xargs -0 grep -i -B 3 -A 2 "cat"

    Didn't need to install an additional piece of software at all!

    Ok, fair enough, although you need extra commands.

    ag --python -B3 -A2 '\bcat\b'

    Easier to remember.

    Given that the tools exist to "remember" for you, that hardly matters, >>>>>> and I guarantee you that mdfind is orders of magnitude faster.

    Sounds a bit like UNIX locate/plocate.

    You need to learn a little more about how Apple implemented what in the >>>> GUI part of the OS is called "Spotlight".

    "mdfind" is just a command line tool that leverages the same index that >>>> is created for Spotlight.

    Duh-uh. I found that out on my own.

    I just ran this:

    agbaker@Alans-M3 / % time mdfind ahlstrom

    The result:

    2026-05-08 11:37:24.286 mdfind[57515:2714553] [UserQueryParser] Loading >>>> keywords and predicates for locale "en_CA"

    2026-05-08 11:37:24.286 mdfind[57515:2714553] [UserQueryParser] Loading >>>> keywords and predicates for locale "en"

    /Users/agbaker/Library/Group
    Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main
    Profile/Data/Messages/109/6DCA995E-E984-4A01-8FEA-ECF490248F0B.olk15Message

    mdfind ahlstrom 0.04s user 0.06s system 38% cpu 0.259 total

    Whoop de do.

    $ time locate ahlstrom &> /dev/null
    real 0m1.027s
    user 0m0.927s
    sys 0m0.141s

    This is on my computer, and emits 442650 hits (as counted by
    piping the command to wc -l.)

    Another example, a more realistic use of locate:

    $ time locate vim
    real 0m0.043s
    user 0m0.015s
    sys 0m0.023s

    "locate" doesn't locate everything.

    Define "everything".

    "mdfind" and the system it uses indexing everything.

    You really need to be precise, because index all information on
    a disk would be huge.

    $ locate xyz

    This finds about 20 files on this system.

    Fwiw, /var/lib/plocate/plocate.db is about 22 Mb on this system.


    The Spotlight index for my Data drive is 4.3G, so not small...

    ...but at less than half a percent of my 1TB drive, I wouldn't call it
    "huge".
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris Ahlstrom@OFeem1987@teleworm.us to comp.os.linux.advocacy,comp.sys.mac.advocacy on Sun May 10 12:21:58 2026
    From Newsgroup: comp.os.linux.advocacy

    Alan wrote this screed in ALL-CAPS:

    On 2026-05-10 05:06, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-09 05:59, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-08 10:44, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-06 18:34, rbowman wrote:
    On Wed, 6 May 2026 13:34:55 -0700, Alan wrote:


    Sure!

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 | >>>>>>>>> xargs -0 grep -i -B 3 -A 2 "cat"

    Didn't need to install an additional piece of software at all! >>>>>>>>
    And this is easier than 'find . -name "*.py" | .....

    Faster... ...like a LOT faster; impossibly faster.

    On my drive with 2,711,067 files, running my command takes...

    (Running it again now)

    ...1 second.

    Cached, obviously :-D

    Nope.

    Indexed.

    And cached.

    Nope.

    Yes, there is an index.

    No, nothing was cached.

    Are you saying that MacOS does not cache data? Data such as... an
    index?

    Surely you're joking, Mr. Fine Man!

    An index is not a cache.

    Duh!

    You were trying to imply that it ran fast because it had run immediately before.

    I'm done with you, so obtuse, on this topic.
    --
    I smell a wumpus.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.os.linux.advocacy on Sun May 10 18:33:09 2026
    From Newsgroup: comp.os.linux.advocacy

    On Sun, 10 May 2026 08:16:39 -0400, Chris Ahlstrom wrote:

    $ locate xyz

    This finds about 20 files on this system.

    It finds 134 on mine :) That's what happens when you mess around with GIS stuff. There are a lot of Python and Node library files to handle tile requests. The plocate database is 40 MB.

    Arguing with an Apple fanboi is like mud wrestling a pig.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Sun May 10 21:41:42 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-10 09:21, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-10 05:06, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-09 05:59, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-08 10:44, Chris Ahlstrom wrote:
    Alan wrote this screed in ALL-CAPS:

    On 2026-05-06 18:34, rbowman wrote:
    On Wed, 6 May 2026 13:34:55 -0700, Alan wrote:


    Sure!

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 | >>>>>>>>>> xargs -0 grep -i -B 3 -A 2 "cat"

    Didn't need to install an additional piece of software at all! >>>>>>>>>
    And this is easier than 'find . -name "*.py" | .....

    Faster... ...like a LOT faster; impossibly faster.

    On my drive with 2,711,067 files, running my command takes...

    (Running it again now)

    ...1 second.

    Cached, obviously :-D

    Nope.

    Indexed.

    And cached.

    Nope.

    Yes, there is an index.

    No, nothing was cached.

    Are you saying that MacOS does not cache data? Data such as... an
    index?

    Surely you're joking, Mr. Fine Man!

    An index is not a cache.

    Duh!

    You were trying to imply that it ran fast because it had run immediately
    before.

    I'm done with you, so obtuse, on this topic.


    So if that isn't what you were implying...

    ...and you acknowledge that an index is not the same thing as a cache...

    ...what WERE you trying to claim?
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris Ahlstrom@OFeem1987@teleworm.us to comp.os.linux.advocacy on Mon May 11 07:33:30 2026
    From Newsgroup: comp.os.linux.advocacy

    rbowman wrote this screed in ALL-CAPS:

    On Sun, 10 May 2026 08:16:39 -0400, Chris Ahlstrom wrote:

    $ locate xyz

    This finds about 20 files on this system.

    It finds 134 on mine :) That's what happens when you mess around with GIS stuff. There are a lot of Python and Node library files to handle tile requests. The plocate database is 40 MB.

    Arguing with an Apple fanboi is like mud wrestling a pig.

    Seems so. I explicitly noted that an index can be cached.

    One of my favorite tunes:
    --
    Roland was a warrior, from the land of the midnight sun,
    With a Thompson gun for hire, fighting to be done.
    The deal was made in Denmark, on a dark and stormy day,
    So he set out for Biafra, to join the bloody fray.
    Through sixty-six and seven, they fought the Congo war,
    With their fingers on their triggers, knee deep in gore.
    Days and nights they battled, the Bantu to their knees,
    They killed to earn their living, and to help out the Congolese.
    Roland the Thompson gunner...
    His comrades fought beside him, Van Owen and the rest,
    But of all the Thompson gunners, Roland was the best.
    So the C.I.A decided, they wanted Roland dead,
    That son-of-a-bitch Van Owen, blew off Roland's head.
    Roland the headless Thompson gunner...
    Roland searched the continent, for the man who'd done him in.
    He found him in Mombasa, in a bar room drinking gin,
    Roland aimed his Thompson gun, he didn't say a word,
    But he blew Van Owen's body from there to Johannesburg.
    The eternal Thompson gunner, still wandering through the night,
    Now it's ten years later, but he stills keeps up the fight.
    In Ireland, in Lebanon, in Palestine, in Berkeley,
    Patty Hearst... heard the burst... of Roland's Thompson gun, and bought it.
    -- Warren Zevon, "Roland the Headless Thompson Gunner"
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Mon May 11 10:26:12 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-10 11:33, rbowman wrote:
    On Sun, 10 May 2026 08:16:39 -0400, Chris Ahlstrom wrote:

    $ locate xyz

    This finds about 20 files on this system.

    It finds 134 on mine :) That's what happens when you mess around with GIS stuff. There are a lot of Python and Node library files to handle tile requests. The plocate database is 40 MB.

    My ".Spotlight-V100" directory is 4.3GB...

    ...less than 0.5% of my 1TB drive...

    ...and it lets me find every ".py" file on the entire volume in less
    than a second.

    I guarantee you that 4.3GB of my RAM is not occupied by a "cached"
    version of the index.

    Executing this command on "/" (which has some 2,719,481 files) using the "time" utility:

    mdfind "kMDItemFSName == '*.py' && kMDItemTextContent == 'cat'" -0 |
    xargs -0 grep -i -B 3 -A 2 "cat"

    Which finds ever python file, and prints out 3 lines before and three
    lines after the "cat" in each...

    ...took 0.505 seconds.

    I realize that you Linux advocates have to sign a contract in blood with
    Linus Torvalds before they're allowed to use Linux, but seriously:

    Spotlight works excellently, and you just look foolish when you try to
    compare it to something like "locate".
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Mon May 11 10:26:58 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-11 04:33, Chris Ahlstrom wrote:
    rbowman wrote this screed in ALL-CAPS:

    On Sun, 10 May 2026 08:16:39 -0400, Chris Ahlstrom wrote:

    $ locate xyz

    This finds about 20 files on this system.

    It finds 134 on mine :) That's what happens when you mess around with GIS >> stuff. There are a lot of Python and Node library files to handle tile
    requests. The plocate database is 40 MB.

    Arguing with an Apple fanboi is like mud wrestling a pig.

    Seems so. I explicitly noted that an index can be cached.

    No. You made no such explicit claim...

    ...but good job running away to the safety of COLA.

    :-)
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From MLT@melaniasloosetwat@wicks.org to comp.os.linux.advocacy,comp.sys.mac.advocacy on Tue May 12 01:20:30 2026
    From Newsgroup: comp.os.linux.advocacy

    Alan <nuh-uh@nope.com> wrote in news:10tt3h2$19gng$2@dont-email.me:

    On 2026-05-11 04:33, Chris Ahlstrom wrote:
    rbowman wrote this screed in ALL-CAPS:

    On Sun, 10 May 2026 08:16:39 -0400, Chris Ahlstrom wrote:

    $ locate xyz

    This finds about 20 files on this system.

    It finds 134 on mine :) That's what happens when you mess around
    with GIS stuff. There are a lot of Python and Node library files to
    handle tile requests. The plocate database is 40 MB.

    Arguing with an Apple fanboi is like mud wrestling a pig.

    Seems so. I explicitly noted that an index can be cached.

    No. You made no such explicit claim...

    ...but good job running away to the safety of COLA.

    :-)


    How much is Apple paying you Alan to be an extreme fanboy?
    Whatever it is, they are wasting their money because you are considered a joke. Nobody trusts your post. Most people ignore them.

    So how much you making to spew this garbage?
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From CrudeSausage@crude@sausa.ge to comp.os.linux.advocacy,comp.sys.mac.advocacy on Mon May 11 21:36:01 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-11 9:20 p.m., MLT wrote:
    Alan <nuh-uh@nope.com> wrote in news:10tt3h2$19gng$2@dont-email.me:

    On 2026-05-11 04:33, Chris Ahlstrom wrote:
    rbowman wrote this screed in ALL-CAPS:

    On Sun, 10 May 2026 08:16:39 -0400, Chris Ahlstrom wrote:

    $ locate xyz

    This finds about 20 files on this system.

    It finds 134 on mine :) That's what happens when you mess around
    with GIS stuff. There are a lot of Python and Node library files to
    handle tile requests. The plocate database is 40 MB.

    Arguing with an Apple fanboi is like mud wrestling a pig.

    Seems so. I explicitly noted that an index can be cached.

    No. You made no such explicit claim...

    ...but good job running away to the safety of COLA.

    :-)


    How much is Apple paying you Alan to be an extreme fanboy?
    Whatever it is, they are wasting their money because you are considered a joke. Nobody trusts your post. Most people ignore them.

    I know I do.

    So how much you making to spew this garbage?

    They pay him in free Apple stickers.
    --
    CrudeSausage
    M4 MacBook Air
    Islam is the worship of Satan
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alan@nuh-uh@nope.com to comp.os.linux.advocacy,comp.sys.mac.advocacy on Mon May 11 21:20:55 2026
    From Newsgroup: comp.os.linux.advocacy

    On 2026-05-11 18:20, MLT wrote:
    Alan <nuh-uh@nope.com> wrote in news:10tt3h2$19gng$2@dont-email.me:

    On 2026-05-11 04:33, Chris Ahlstrom wrote:
    rbowman wrote this screed in ALL-CAPS:

    On Sun, 10 May 2026 08:16:39 -0400, Chris Ahlstrom wrote:

    $ locate xyz

    This finds about 20 files on this system.

    It finds 134 on mine :) That's what happens when you mess around
    with GIS stuff. There are a lot of Python and Node library files to
    handle tile requests. The plocate database is 40 MB.

    Arguing with an Apple fanboi is like mud wrestling a pig.

    Seems so. I explicitly noted that an index can be cached.

    No. You made no such explicit claim...

    ...but good job running away to the safety of COLA.

    :-)


    How much is Apple paying you Alan to be an extreme fanboy?
    Whatever it is, they are wasting their money because you are considered a joke. Nobody trusts your post. Most people ignore them.

    So how much you making to spew this garbage?

    What part of what I just wrote is "garbage"...

    ...more so than calling Apple users "pigs"?
    --- Synchronet 3.22a-Linux NewsLink 1.2