• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/docs-xml/smbdotconf/
1#!/bin/sh
2DIR=.
3if [ "x$1" != "x" ]
4then
5	DIR="$1"
6fi
7
8OLD=`pwd`
9cd $DIR
10
11echo "<section xmlns:xi=\"http://www.w3.org/2003/XInclude\">"
12for I in `find . -mindepth 2 -type f -name '*.xml' | sort -t/ -k3 | xargs`
13do 
14	echo "<xi:include href='$I' parse='xml'/>"
15done
16                
17echo "</section>"
18
19cd $OLD
20