9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Two suggestions for ape (was: egrep for Plan9)
@ 2009-10-23 10:43 Dimitry Golubovsky
  2009-10-23 14:06 ` Jason Catena
  0 siblings, 1 reply; 24+ messages in thread
From: Dimitry Golubovsky @ 2009-10-23 10:43 UTC (permalink / raw)
  To: 9fans

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



^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2009-10-28  9:45 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-23 10:43 [9fans] Two suggestions for ape (was: egrep for Plan9) Dimitry Golubovsky
2009-10-23 14:06 ` Jason Catena
2009-10-23 14:12   ` Charles Forsyth
2009-10-23 15:06     ` W B Hacker
2009-10-23 15:38     ` Federico G. Benavento
2009-10-23 15:54   ` Dmitry Golubovsky
2009-10-23 16:08     ` Jason Catena
2009-10-23 18:18     ` Tim Newsham
2009-10-23 18:58       ` Jason Catena
2009-10-23 21:19       ` Federico G. Benavento
2009-10-26 10:19     ` Dmitry Golubovsky
2009-10-26 13:15       ` hiro
2009-10-26 14:15       ` Dmitry Golubovsky
2009-10-26 15:06         ` [9fans] Two suggestions for ape W B Hacker
     [not found]     ` <636733be-5009-4311-97ab-dc81634dbd06@p15g2000vbl.googlegroups.co>
2009-10-26 20:10       ` [9fans] Two suggestions for ape (was: egrep for Plan9) erik quanstrom
2009-10-27 16:10         ` Anthony Sorace
2009-10-27 16:16           ` erik quanstrom
2009-10-27 16:25             ` ron minnich
2009-10-27 16:37               ` erik quanstrom
2009-10-27 17:56                 ` tlaronde
2009-10-27 21:43                   ` Tim Newsham
2009-10-27 23:14                     ` Francisco J Ballesteros
2009-10-28  0:23                   ` Dave Eckhardt
2009-10-28  9:45                     ` tlaronde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).