bug-bash
[Top][All Lists]
Advanced

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

Re: [PATCH 2/9] findcmd: parameterize path variable in functions


From: Matheus Afonso Martins Moreira
Subject: Re: [PATCH 2/9] findcmd: parameterize path variable in functions
Date: Wed, 08 May 2024 00:17:35 +0000

> No, it should be implemented using a call to find_in_path() with the
> appropriate path string and flags.
> 
> I feel like a feature like BASH_SOURCE_PATH should take less than a
> dozen lines of code in source_builtin().

I agree. My version took more because I like splitting
things into separate functions. I can reorganize the code
to be more dense if necessary.

  Matheus



reply via email to

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