Bug 193892 - https://www.freebsd.org/doc/en/articles/linux-users/shells.html errorneusly claims that tcsh(1) is the default shell on FreeBSD.
Summary: https://www.freebsd.org/doc/en/articles/linux-users/shells.html errorneusly c...
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-doc (Nobody)
URL: https://www.freebsd.org/doc/en/articl...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-24 14:00 UTC by kpaasial
Modified: 2015-06-16 15:51 UTC (History)
2 users (show)

See Also:


Attachments
Default shell for users is sh(1), not tcsh(1). (2.49 KB, patch)
2014-10-04 19:06 UTC, Anthony Perkins
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.