The https://www.freebsd.org/doc/en/articles/linux-users/shells.html page claims that tcsh(1) is the default shell on FreeBSD. This is clearly not true since sh(1) is the shell of choise for any shell scripts such as rc(8) scripts. Only the root's default interactive shell is csh(1). The section could be rewritten to state that the /bin/sh shell is not shells/bash as it is on Linux usually but a Bourne compatible shell without the bash specific extensions. It should also make a point about the root's default interactive shell being csh(1).
Created attachment 147979 [details] Default shell for users is sh(1), not tcsh(1). The attached patch corrects this bug by describing sh(1) as the default shell for users, rather than tcsh(1), and includes a note about shell script compatibility between the two. I also took the opportunity to correct two other inconsistencies that I spotted in the document. Could someone with a commit bit please review this? Kind regards Anthony
I committed a slightly modified version of the patch: https://svnweb.freebsd.org/doc?view=revision&revision=46833 Thanks for reporting the bug and providing the patch to both of you! PR closed.