Bug 193892

Summary: https://www.freebsd.org/doc/en/articles/linux-users/shells.html errorneusly claims that tcsh(1) is the default shell on FreeBSD.
Product: Documentation Reporter: kpaasial
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Many People CC: anthony, bcr
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://www.freebsd.org/doc/en/articles/linux-users/shells.html
Attachments:
Description Flags
Default shell for users is sh(1), not tcsh(1). none

Description kpaasial 2014-09-24 14:00:18 UTC
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).
Comment 1 Anthony Perkins 2014-10-04 19:06:34 UTC
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
Comment 2 Benedict Reuschling freebsd_committer freebsd_triage 2015-06-16 15:51:57 UTC
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.