Stata is not exactly recursively looking for BASE, SITE, and PLUS. It performs a search in each directory and inside the directory it will search in one subdirectory, which has the first letter of the desired command as its name.
Inside PERSONAL, I created a subdirectory fand put it in it foo.ado. When I entered the command fooin the Stata command prompt window, Stata detected foo.adoand ran the program inside.
, , Stat PERSONAL , StataCorp , , " " .
Mac f gnxl,
cd ~/Library/Application Support/Stata/ado/personal
ln -s gnxl/foo.ado .
, Stata, foo . , , , ado. GitHub, , .
user4690969