Plan 9 from Bell Labs’s /usr/web/sources/patch/sorry/ape-rc-scripts-safe-path/psh.orig

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc
# set up a shell running in an approximate POSIX 1003.2 environment
rfork en
fn sigterm{}
HOME=$home
bind -b /rc/bin/ape /bin
bind -b /$cputype/bin/ape /bin
if(test -d /$cputype/bin/pub)
	bind -a /$cputype/bin/pub /bin
/bin/sh $*

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].