<?xml version="1.0" encoding="utf-8"?>
<!-- name="generator" content="pyblosxom/1.3.2 2/13/2006" -->
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">
<channel>
<title>diary of a window system hacker 26 Mar 2004</title>
<link>http://www.fooishbar.org/blog</link>
<description>can't think of a clever byline</description>
<language>en</language>
<item>
  <title>keith packard is insane</title>
  <link>http://www.fooishbar.org/blog/tech/x/keithpEdScript-2004-03-26-13-39.html</link>
  <description><![CDATA[
<a href="http://keithp.com/blog/">Keith Packard</a>, please seek professional
help.
<br />
<pre>
#!/bin/sh
for i in "$@"; do
        if grep -q '&lt;config.h&gt;' $i; then
                echo $i already has config.h
        else
                chmod +w $i
                ed $i << EOF
/^#/
i
#ifdef HAVE_CONFIG_H
#include &lt;config.h&gt;
#endif
.
w
q
EOF
        fi
done
</pre>

]]></description>
</item>

</channel>
</rss>
