summaryrefslogtreecommitdiffstats
path: root/bin/sh/sh.1
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2011-05-21 22:03:06 +0000
committerjilles <jilles@FreeBSD.org>2011-05-21 22:03:06 +0000
commit3dd8ae4222dacd974bc67c89db57fbe97d36ed79 (patch)
tree454723ef27b9a87e895c6adb1d91ac119ce9e994 /bin/sh/sh.1
parent0ebed84dd0d6e9f4219f1e24043618517c004c3e (diff)
downloadFreeBSD-src-3dd8ae4222dacd974bc67c89db57fbe97d36ed79.zip
FreeBSD-src-3dd8ae4222dacd974bc67c89db57fbe97d36ed79.tar.gz
sh: Expand aliases after assignments and redirections.
Diffstat (limited to 'bin/sh/sh.1')
-rw-r--r--bin/sh/sh.16
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1
index a74e677..42e55d3 100644
--- a/bin/sh/sh.1
+++ b/bin/sh/sh.1
@@ -32,7 +32,7 @@
.\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95
.\" $FreeBSD$
.\"
-.Dd May 20, 2011
+.Dd May 21, 2011
.Dt SH 1
.Os
.Sh NAME
@@ -506,8 +506,8 @@ The following are keywords:
An alias is a name and corresponding value set using the
.Ic alias
built-in command.
-Whenever a keyword may occur (see above),
-and after checking for keywords, the shell
+Wherever the command word of a simple command may occur,
+and after checking for keywords if a keyword may occur, the shell
checks the word to see if it matches an alias.
If it does, it replaces it in the input stream with its value.
For example, if there is an alias called
OpenPOWER on IntegriCloud