Great, thanks Russ.

I have two suggestions for ape minor additions arising from my recent
attempts to run configure scripts on Plan9

1. Add this script (suggested by Russ) as /rc/bin/ape/egrep

#!/bin/rc
if(~ $1 -E) shift
exec grep $*

2. Make ls accept -i option (if inode numbers do not exists in Plan9
then it could print some numeric hash of file path, whatever)

These things are needed by autoconf. For the former, the script above
worked fine as egrep. For the latter, autoconf supplies code using "ls
-di" when checking the current directory. I had to redefine the
corresponding function locally to get around this. Looks like these
things are hardwired in the autoconf macro library.

Thanks.

-- 
Dimitry Golubovsky

Anywhere on the Web

Reply via email to