Re: [PATCH] [DNM] builtin: add source for Bash compat
Sebastien Peterson-Boudreau <[email protected]> Sun, 14 Sep 2025 19:22:00 -0300
| Newsgroups | org.kernel.vger.dash |
|---|---|
| Message-ID | <aMdACGW-YOTYzZXj@HQ> |
FWIW, this can also be done with a function inside the shell itself :)
source () {
. "$@"
}
...hopefully I used the correct special parameter and quotes, but in
most cases you can probably just use $1 and be fine.
--
S.