> "Not uncommon" is stretching it, since it happens in only one place: > lib/readline/shell.c.
No. it is not uncommon. See the analysis of duplicated function/macro names and where they appear. There are around ~100 of them. Note that this analysis is not very accurate. But the balkpark estimate should be OK. https://pastebin.com/cV1jP41Y > Readline is now distributed separately, and used in hundreds of other > applications in addition to bash, but it was not always this way. Then, since it has been made into a separate package long time ago, why readline has not been removed from bash source code? Thanks. -- Regards, Peng