help-bash
[Top][All Lists]
Advanced

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

Re: bash loadables homebrew installation


From: Peng Yu
Subject: Re: bash loadables homebrew installation
Date: Thu, 10 Sep 2020 17:59:58 -0500

This installation doesn't seem to be complete. For example, it misses
`cat`. It is a little strange to me why cat is not compiled. Is it set
to be not compiled by default by the original bash compilation
setting?

/usr/local/Cellar/bash/5.0.18/lib/bash$ ls -lg
total 496
-r--r--r-- 1 staff  2802 2020/09/04-23:28:59 Makefile.inc
-r--r--r-- 1 staff 12956 2020/09/04-23:28:59 basename
-r--r--r-- 1 staff 12908 2020/09/04-23:28:59 dirname
-r--r--r-- 1 staff 17596 2020/09/04-23:28:59 fdflags
-r--r--r-- 1 staff 18088 2020/09/04-23:28:59 finfo
-r--r--r-- 1 staff 17632 2020/09/04-23:28:59 head
-r--r--r-- 1 staff 17600 2020/09/04-23:28:59 id
-r--r--r-- 1 staff 17624 2020/09/04-23:28:59 ln
-r--r--r-- 1 staff   993 2019/01/06-17:30:57 loadables.h
-r--r--r-- 1 staff 12868 2020/09/04-23:28:59 logname
-r--r--r-- 1 staff 17740 2020/09/04-23:28:59 mkdir
-r--r--r-- 1 staff 12956 2020/09/04-23:28:59 mypid
-r--r--r-- 1 staff 17504 2020/09/04-23:28:59 pathchk
-r--r--r-- 1 staff 17868 2020/09/04-23:28:59 print
-r--r--r-- 1 staff 13276 2020/09/04-23:28:59 printenv
-r--r--r-- 1 staff 18136 2020/09/04-23:28:59 push
-r--r--r-- 1 staff 17468 2020/09/04-23:28:59 realpath
-r--r--r-- 1 staff 12812 2020/09/04-23:28:59 rmdir
-r--r--r-- 1 staff 18832 2020/09/04-23:28:59 seq
-r--r--r-- 1 staff 16980 2020/09/04-23:28:59 setpgid
-r--r--r-- 1 staff 12756 2020/09/04-23:28:59 sleep
-r--r--r-- 1 staff 17268 2020/09/04-23:28:59 strftime
-r--r--r-- 1 staff 12596 2020/09/04-23:28:59 sync
-r--r--r-- 1 staff 17452 2020/09/04-23:28:59 tee
-r--r--r-- 1 staff  8504 2020/09/04-23:28:59 truefalse
-r--r--r-- 1 staff 12884 2020/09/04-23:28:59 tty
-r--r--r-- 1 staff 17380 2020/09/04-23:28:59 uname
-r--r--r-- 1 staff 12820 2020/09/04-23:28:59 unlink
-r--r--r-- 1 staff 13028 2020/09/04-23:28:59 whoami


On 9/9/20, Koichi Murase <myoga.murase@gmail.com> wrote:
> 2020-09-05 14:19 Peng Yu <pengyu.ut@gmail.com>:
>> I use homebrew to install bash. But I don't find a way to
>> automatically install bash loadables and set the corresponding
>> enviroment in homebrew. Does anybody know if this is possible?
>> Thanks.
>
> I'm not sure because I don't have macOS, but I guess the loadable
> builtins are already installed when you installed the latest bash with
> homebrew because it seems the brew formula for bash just runs
> `make install'.
>
>
> https://github.com/Homebrew/homebrew-core/blob/master/Formula/bash.rb#L65-L66
>
> I guess the loadable builtins are located in some path like
>
>   /usr/local/Cellar/bash/5.0.18/lib/bash
>
> If the loadables are located in the above path, I think you can use
> the following setting:
>
>   BASH_LOADABLES_PATH=/usr/local/Cellar/bash/5.0.18/lib/bash
>
> --
> Koichi
>


-- 
Regards,
Peng



reply via email to

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