From Fedora Project Wiki

Hello there, might be me that's a bit rusty.. but..

Chris Curran xi include directives script.

#!/bin/sh
for i in $( ls ); do
   if "$i" == *.xml   ;
   then
   echo -en "\074xi\072include href=\042"
   echo -n $i
   echo -e "\042 xmlns\072xi\075\042http\072\057\057www\056w3\056org\00572001\057XInclude\042 \057\076"
   fi
done

Isn't there one "[" too much in the for statement? //User:Magnusg

Fixed Tsagadai 23:27, 11 January 2009 (UTC)