bug-bash
[Top][All Lists]
Advanced

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

Re: Re: [PATCH 0/9] Add library mode to source builtin


From: Matheus Afonso Martins Moreira
Subject: Re: Re: [PATCH 0/9] Add library mode to source builtin
Date: Mon, 06 May 2024 03:55:45 +0000

> Such is the extent to which I concur that I find even -l to be irritating.

Well, I don't concur at all. I think it's just the opposite.
I think it's actually the source builtin which incorrectly
implies that all sourced scripts are executables
when they might actually be libraries and modules.

It implies this because the source code for source prefers
files with the executable bit set, and also because it searches
for the files in a list of paths meant for executables/commands.

The implication is obviously false.
This patch allows them to be avoided.
It simply adds an option to source.
I really don't understand how it could
possibly be irritating to anyone.

  -- Matheus



reply via email to

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