From: Dimitry Golubovsky <golubovsky@gmail.com>
To: 9fans@9fans.net
Subject: [9fans] Two suggestions for ape (was: egrep for Plan9)
Date: Fri, 23 Oct 2009 06:43:49 -0400 [thread overview]
Message-ID: <bcba51a0910230343w2563a6fehbcd094a7eb05b38f@mail.gmail.com> (raw)
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
next reply other threads:[~2009-10-23 10:43 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-23 10:43 Dimitry Golubovsky [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bcba51a0910230343w2563a6fehbcd094a7eb05b38f@mail.gmail.com \
--to=golubovsky@gmail.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).