David du Colombier 23b4b94ed8 Plan 9 from Bell Labs 2005-08-04 16 years ago
..
diff 35297460c0 Plan 9 from Bell Labs 2005-07-26 16 years ago
expr c0f3d9569e Plan 9 from Bell Labs 2002-12-12 19 years ago
make bc64c38993 Plan 9 from Bell Labs 2005-07-22 16 years ago
patch c7188eaa2e Plan 9 from Bell Labs 2003-02-26 19 years ago
pax c0f3d9569e Plan 9 from Bell Labs 2002-12-12 19 years ago
pdksh a3a7fea79b Plan 9 from Bell Labs 2003-03-26 18 years ago
sed c0f3d9569e Plan 9 from Bell Labs 2002-12-12 19 years ago
README c0f3d9569e Plan 9 from Bell Labs 2002-12-12 19 years ago
basename.c c0f3d9569e Plan 9 from Bell Labs 2002-12-12 19 years ago
cc.c 077f7a3401 Plan 9 from Bell Labs 2005-04-06 16 years ago
dirname.c c0f3d9569e Plan 9 from Bell Labs 2002-12-12 19 years ago
kill.c c0f3d9569e Plan 9 from Bell Labs 2002-12-12 19 years ago
mkfile a3a7fea79b Plan 9 from Bell Labs 2003-03-26 18 years ago
uname.c c0f3d9569e Plan 9 from Bell Labs 2002-12-12 19 years ago

README

This is an attempt to make the utilities specified in
POSIX 1002.3 available, assuming /$objtype/ape/bin
and /lib/rc/ape are bound to /bin before the regular
bin directories.

Here's a brief description of the status of these commands.

EXECUTION ENVIRONMENT UTILITIES

awk Plan 9 awk.
system() uses rc instead of sh.

basename POSIX conforming

bc Plan 9 bc.

cat Plan 9 cat.
no -u option (for byte-at-at-time)

cd shell builtins
doesn't use $HOME or $CDPATH

chgrp Plan 9 chgrp.
no -R option (for recursive chgrp).
only takes name, not number


chmod Plan 9 chmod.
no -R option (for recursive chmod).
no s (setuid) and X (conditional x) perms.
nonstandard a,l perms.

chown Always prints 'Permission denied' and fails.

cksum not implemented

cmp Plan 9 cmp.
nonstandard -L option
no line number printed; hex instead of octal for bytes

comm Plan 9 comm.

command not implemented

cp Plan 9 cp.
no -R and -r (recursive), -i (interactive), -p (preserve) options
nonstandard -z option

cut not implemented

date Plan 9 date.
no format option
nonstandard -n option

dd Plan 9 dd.

diff Plan 9 diff.
can't have both files directories
no -r (recursive) option
-c instead of -c and -C for context

dirname POSIX conforming

echo Plan 9 echo

ed Plan 9 ed
nonstandard b,wq commands

env not implemented

expr V10 expr (seems to be like POSIX)

false POSIX conforming

find not implemented

fold not implemented

getconf not implemented

getopts not implemented

grep script calling Plan 9 grep -G
s means q, should mean forget nonexistent files
nonstandard 1,b,L,q options

head not implemented

id not implemented

join not implemented

kill V10 kill
no -s signalname, no -l arg

ln not implemented

locale not implemented

localedef not implemented

logger not implemented

logname not implemented

lp Plan 9 lp

ls Plan 9 ls

mailx not implemented

mkdir Plan 9 mkdir

mkfifo not implemented

mv Plan 9 mv

nohup not implemented

od not implemented

paste not implemented

pathchk not implemented

pax implemented

pr Plan 9 pr

printf not implemented

pwd Plan 9 pwd

read shell builtin

rm Plan 9 rm

rmdir script
no -p option

sed v10 sed

sh ksh93 -- POSIX compliant

sleep Plan 9 sleep

sort Plan 9 sort

stty POSIX compliant (sort of)

tail Plan 9 tail

tee Plan 9 tee

test Plan 9 test (POSIX compliant); copied as [

touch Plan 9 touch

tr Plan 9 tr

true POSIX compliant

umask noop

SOFTWARE DEVELOPMENT UTILITIES (OPTIONAL)

ar script to call Plan9 ar, after arg conversion

make V10 make

strip not implemented

C LANGUAGE DEVELOPMENT UTILITIES OPTION

c89 script to APE environment cc (also avaiable as cc)

lex Plan 9 lex

yacc script to Plan 9 yacc

General Bugs:
The environment variables LANG, LC_ALL,
LC_CTYPE, and LC_MESSAGES are ignored.

The use of -- as an argument to stop option processing
is generally not done.

The many 'not implemented' functions will be implemented
as scripts using them show up.