aboutsummaryrefslogtreecommitdiff
path: root/man/man1/9.1
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-03-06 18:06:38 +0000
committerrsc <devnull@localhost>2005-03-06 18:06:38 +0000
commit9f827afdb9c1f101ccf303dfece4d71096e1917f (patch)
tree2ca4cc80922f95f53e11d8d547d45c8559393ad6 /man/man1/9.1
parentc3e471f477c7a899de2fa37ff468ecbb123db8a7 (diff)
downloadplan9port-9f827afdb9c1f101ccf303dfece4d71096e1917f.tar.gz
plan9port-9f827afdb9c1f101ccf303dfece4d71096e1917f.tar.bz2
plan9port-9f827afdb9c1f101ccf303dfece4d71096e1917f.zip
add u and u.rc
Diffstat (limited to 'man/man1/9.1')
-rw-r--r--man/man1/9.148
1 files changed, 45 insertions, 3 deletions
diff --git a/man/man1/9.1 b/man/man1/9.1
index f3e57ee6..e003eb31 100644
--- a/man/man1/9.1
+++ b/man/man1/9.1
@@ -1,6 +1,6 @@
.TH 9 1
.SH NAME
-9, 9.rc \- run Plan 9 commands
+9, 9.rc, u, u.rc \- run Plan 9 or Unix commands
.SH SYNOPSIS
.B 9
.I cmd
@@ -25,6 +25,30 @@
.B 9.rc
(from
.IR rc (1))
+.PP
+.B u
+.I cmd
+[
+.I args
+\&...
+]
+.PP
+.B .
+.B u
+(from
+.IR sh (1))
+.PP
+.B u.rc
+.I cmd
+[
+.I args
+\&...
+]
+.PP
+.B .
+.B u.rc
+(from
+.IR rc (1))
.SH DESCRIPTION
Because Plan 9 supplies commands with the same name as but different
behavior than many basic Unix system commands
@@ -63,6 +87,17 @@ is the same as
.I 9
but written for use by the shell
.IR rc (1).
+.PP
+.I U
+and
+.I u.rc
+are the inverse of
+.I 9
+and
+.IR 9.rc :
+they move
+.B $PLAN9/bin
+to the end of the path.
.SH EXAMPLES
Search for greek in the password file:
.IP
@@ -72,14 +107,21 @@ $ 9 grep '[α-ζ]' /etc/passwd
.PP
Start an
.IR rc (1)
-with the Plan 9 commands in the path before the system commands.
+with the Plan 9 commands in the path before the system commands,
+and then run the Unix
+.IR ls :
.IP
.EX
-9 rc
+$ 9 rc
+% u ls
.EE
.SH SOURCE
.B \*9/bin/9
.br
.B \*9/bin/9.rc
+.br
+.B \*9/bin/u
+.br
+.B \*9/bin/u.rc
.SH SEE ALSO
.IR intro (1)