--- freetds-0.64/doc/Makefile.am.bak 2007-06-01 02:46:40.904242474 +0200 +++ freetds-0.64/doc/Makefile.am 2007-06-01 06:23:10.849637515 +0200 @@ -193,10 +193,10 @@ </row></thead> \ <tbody>' \ >> .dblib.api - grep '^dblib' $(srcdir)/api_status.txt | sed -e' s!^dblib[ ]!<row><entry>!; \ - s![ ][ ]*!</> <entry>!g; \ - s!$$!</></row>!; \ - ' >> .dblib.api + grep '^dblib' $(srcdir)/api_status.txt | sed -e' s!^dblib[ ]!<row><entry>!; '\ +' s![ ][ ]*!</> <entry>!g; '\ +' s!$$!</></row>!; '\ +' ' >> .dblib.api echo '</tbody></tgroup></table>' >> .dblib.api mv .dblib.api $@ @@ -212,10 +212,10 @@ </row></thead> \ <tbody>' \ >> .ctlib.api - grep '^ctlib' $(srcdir)/api_status.txt | sed -e' s!^ctlib[ ]!<row><entry>!; \ - s![ ]!</> <entry>!g; \ - s!$$!</></row>!; \ - ' >> .ctlib.api + grep '^ctlib' $(srcdir)/api_status.txt | sed -e' s!^ctlib[ ]!<row><entry>!; '\ +' s![ ]!</> <entry>!g; '\ +' s!$$!</></row>!; '\ +' ' >> .ctlib.api echo '</tbody></tgroup></table>' \ >> .ctlib.api mv .ctlib.api $@ @@ -236,11 +236,11 @@ # The mean RE below (with "ulink" in it) forms a URL to Microsoft's reference page # for the function. It assumes a word starting with "SQL" is an ODBC function. # Let's hope they don't change their site too often. - grep '^odbc' $(srcdir)/api_status.txt | sed -e' s!^odbc[ ]!<row><entry>!; \ - s![ ][ ]*!</> <entry>!g; \ - s!\(SQL[[:alpha:]]*\)!<ulink url="$(MSDN_ODBC)\1.asp">\1</ulink>!g; \ - s!$$!</></row>!; \ - ' >> .odbc.api + grep '^odbc' $(srcdir)/api_status.txt | sed -e' s!^odbc[ ]!<row><entry>!; '\ +' s![ ][ ]*!</> <entry>!g; '\ +' s!\(SQL[[:alpha:]]*\)!<ulink url="$(MSDN_ODBC)\1.asp">\1</ulink>!g; '\ +' s!$$!</></row>!; '\ +' ' >> .odbc.api echo '</tbody></tgroup></table>' \ >> .odbc.api mv .odbc.api $@