summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-03-09 04:20:58 -0400
committerJune McEnroe <june@causal.agency>2020-03-09 04:20:58 -0400
commitc99e42e30cd9974abeb39b27683636113520308f (patch)
tree10253e3ed03986a0dc22083b8fdf5a82dfbf55d2 /bin
parentMove bltin out of subdirectory (diff)
downloadsrc-c99e42e30cd9974abeb39b27683636113520308f.tar.gz
src-c99e42e30cd9974abeb39b27683636113520308f.zip
Rename manual pages to 1sh
Diffstat (limited to 'bin')
-rw-r--r--bin/1sh/1sh-kill.1 (renamed from bin/1sh/kill.1)2
-rw-r--r--bin/1sh/1sh-printf.1 (renamed from bin/1sh/printf.1)2
-rw-r--r--bin/1sh/1sh-test.1 (renamed from bin/1sh/test.1)2
-rw-r--r--bin/1sh/1sh.1 (renamed from bin/1sh/sh.1)26
4 files changed, 18 insertions, 14 deletions
diff --git a/bin/1sh/kill.1 b/bin/1sh/1sh-kill.1
index 262cb335..110fab7d 100644
--- a/bin/1sh/kill.1
+++ b/bin/1sh/1sh-kill.1
@@ -33,7 +33,7 @@
 .\" $FreeBSD: releng/12.1/bin/kill/kill.1 314436 2017-02-28 23:42:47Z imp $
 .\"
 .Dd October 3, 2016
-.Dt KILL 1
+.Dt 1SH-KILL 1
 .Os
 .Sh NAME
 .Nm kill
diff --git a/bin/1sh/printf.1 b/bin/1sh/1sh-printf.1
index 09a08fde..33c4b9f5 100644
--- a/bin/1sh/printf.1
+++ b/bin/1sh/1sh-printf.1
@@ -32,7 +32,7 @@
 .\" $FreeBSD: releng/12.1/usr.bin/printf/printf.1 350613 2019-08-05 20:19:38Z jilles $
 .\"
 .Dd July 29, 2019
-.Dt PRINTF 1
+.Dt 1SH-PRINTF 1
 .Os
 .Sh NAME
 .Nm printf
diff --git a/bin/1sh/test.1 b/bin/1sh/1sh-test.1
index 01c25e91..8ad8d0f4 100644
--- a/bin/1sh/test.1
+++ b/bin/1sh/1sh-test.1
@@ -33,7 +33,7 @@
 .\" $FreeBSD: releng/12.1/bin/test/test.1 314436 2017-02-28 23:42:47Z imp $
 .\"
 .Dd October 5, 2016
-.Dt TEST 1
+.Dt 1SH-TEST 1
 .Os
 .Sh NAME
 .Nm test ,
diff --git a/bin/1sh/sh.1 b/bin/1sh/1sh.1
index e8c056c6..6c60c4ce 100644
--- a/bin/1sh/sh.1
+++ b/bin/1sh/1sh.1
@@ -32,11 +32,11 @@
 .\"	from: @(#)sh.1	8.6 (Berkeley) 5/4/95
 .\" $FreeBSD: releng/12.1/bin/sh/sh.1 345487 2019-03-24 22:10:26Z jilles $
 .\"
-.Dd February 24, 2019
-.Dt SH 1
+.Dd March  9, 2020
+.Dt 1SH 1
 .Os
 .Sh NAME
-.Nm sh
+.Nm 1sh
 .Nd command interpreter (shell)
 .Sh SYNOPSIS
 .Nm
@@ -62,7 +62,7 @@
 .Sh DESCRIPTION
 The
 .Nm
-utility is the standard command interpreter for the system.
+utility is a command interpreter.
 The current version of
 .Nm
 is close to the
@@ -314,7 +314,7 @@ The surrounding shell may kill the child
 or it may just return control to the tty and leave the child alone,
 like this:
 .Bd -literal -offset indent
-sh -T -c "trap 'exit 1' 2 ; some-blocking-program"
+1sh -T -c "trap 'exit 1' 2 ; some-blocking-program"
 .Ed
 .It Fl u Li nounset
 Write a message to standard error when attempting
@@ -2844,15 +2844,15 @@ executed, or if the
 builtin is used with a numeric argument, it
 will return the argument.
 .Sh SEE ALSO
+.Xr 1sh-kill 1 ,
+.Xr 1sh-printf 1 ,
+.Xr 1sh-test 1 ,
 .Xr builtin 1 ,
 .Xr chsh 1 ,
 .Xr echo 1 ,
 .Xr ed 1 ,
 .Xr emacs 1 ,
-.Xr kill 1 ,
-.Xr printf 1 ,
 .Xr pwd 1 ,
-.Xr test 1 ,
 .Xr vi 1 ,
 .Xr execve 2 ,
 .Xr getrlimit 2 ,
@@ -2862,20 +2862,24 @@ will return the argument.
 .Xr shells 5
 .Sh HISTORY
 A
-.Nm
+.Nm sh
 command, the Thompson shell, appeared in
 .At v1 .
 It was superseded in
 .At v7
 by the Bourne shell, which inherited the name
-.Nm .
+.Nm sh .
 .Pp
 This version of
-.Nm
+.Nm sh
 was rewritten in 1989 under the
 .Bx
 license after the Bourne shell from
 .At V.4 .
+The
+.Nm
+command is based on sources from
+.Fx 12.1 .
 .Sh AUTHORS
 This version of
 .Nm