dtd syntax ?

alfs at linux2themax.com alfs at linux2themax.com
Mon Aug 1 00:16:31 PDT 2005

I was wondering if i got the syntax right.. 

      <search_replace base="&build_dir;/&gcc-directory;">
        <find>\(^CROSS_SYSTEM_HEADER_DIR =\).*</find>
        <replace>\1 /tools/include at g</replace>

book syntax was

sed -e 's@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include at g' \
    -i gcc/Makefile.in

Im also wondering how does one make up for the echo command in dtd

echo "
#define STARTFILE_PREFIX_SPEC \"/tools/lib/\"" >> gcc/config/linux.h

Ive been snooping around the dtd doc and havent yet figured out what would be most apropriate for it. 

More information about the alfs-discuss mailing list