3 9f827afd 2005-03-06 devnull 9, 9.rc, u, u.rc \- run Plan 9 or Unix commands
4 3940506b 2005-01-13 devnull .SH SYNOPSIS
52 3940506b 2005-01-13 devnull .SH DESCRIPTION
53 93aa30a8 2005-01-14 devnull Because Plan 9 supplies commands with the same name as but different
54 93aa30a8 2005-01-14 devnull behavior than many basic Unix system commands
56 93aa30a8 2005-01-14 devnull .BR grep ,
57 93aa30a8 2005-01-14 devnull .BR sed ,
58 93aa30a8 2005-01-14 devnull .BR mkdir ,
59 93aa30a8 2005-01-14 devnull .BR rm ),
60 93aa30a8 2005-01-14 devnull it is not recommended to run with the Plan 9 bin directory
61 93aa30a8 2005-01-14 devnull ahead of the system directories.
64 93aa30a8 2005-01-14 devnull is a shell script that sets up a Plan 9 environment and runs
67 93aa30a8 2005-01-14 devnull .B $PLAN9
68 3a9ee635 2005-01-14 devnull if necessary
70 93aa30a8 2005-01-14 devnull .B $PLAN9/bin
71 93aa30a8 2005-01-14 devnull to the beginning of
73 93aa30a8 2005-01-14 devnull before running
74 93aa30a8 2005-01-14 devnull .IR cmd .
76 93aa30a8 2005-01-14 devnull If run with no arguments,
78 3a9ee635 2005-01-14 devnull does not do anything, so it can be invoked from
79 93aa30a8 2005-01-14 devnull .IR sh -style
80 93aa30a8 2005-01-14 devnull shells using
83 93aa30a8 2005-01-14 devnull in order to make the current shell start running in the Plan 9 environment.
86 67075c36 2005-01-14 devnull is the same as
88 3a9ee635 2005-01-14 devnull but written for use by the shell
94 9f827afd 2005-03-06 devnull are the inverse of
97 9f827afd 2005-03-06 devnull .IR 9.rc :
98 9f827afd 2005-03-06 devnull they move
99 9f827afd 2005-03-06 devnull .B $PLAN9/bin
100 9f827afd 2005-03-06 devnull to the end of the path.
101 93aa30a8 2005-01-14 devnull .SH EXAMPLES
102 93aa30a8 2005-01-14 devnull Search for greek in the password file:
105 93aa30a8 2005-01-14 devnull $ 9 grep '[α-ζ]' /etc/passwd
108 93aa30a8 2005-01-14 devnull Start an
110 9f827afd 2005-03-06 devnull with the Plan 9 commands in the path before the system commands,
111 9f827afd 2005-03-06 devnull and then run the Unix
112 9f827afd 2005-03-06 devnull .IR ls :
118 3940506b 2005-01-13 devnull .SH SOURCE
119 3940506b 2005-01-13 devnull .B \*9/bin/9
121 67075c36 2005-01-14 devnull .B \*9/bin/9.rc
123 9f827afd 2005-03-06 devnull .B \*9/bin/u
125 9f827afd 2005-03-06 devnull .B \*9/bin/u.rc
126 3940506b 2005-01-13 devnull .SH SEE ALSO
127 d32deab1 2020-08-16 rsc .MR intro (1)
129 a5632a13 2017-09-01 rsc Some shell configurations
130 a5632a13 2017-09-01 rsc (notably, oh-my-zsh)
133 a5632a13 2017-09-01 rsc as an alias for
136 a5632a13 2017-09-01 rsc which makes the
138 a5632a13 2017-09-01 rsc command described here inaccessible.
139 a5632a13 2017-09-01 rsc In such shells, it is necessary to
142 a5632a13 2017-09-01 rsc in your initialization scripts.