]> hackdaworld.org Git - lectures/dfb-slides.git/commitdiff
-
authorhackbard <hackbard>
Sat, 22 Mar 2003 09:17:12 +0000 (09:17 +0000)
committerhackbard <hackbard>
Sat, 22 Mar 2003 09:17:12 +0000 (09:17 +0000)
head2xml

index 4f3d5ed74aa7264f5ecd33f57f727cbe0794846f..26ecd0c70896276cb1fa9965ffdf26d81f2b0d5c 100755 (executable)
--- a/head2xml
+++ b/head2xml
@@ -1,9 +1,9 @@
 #!/bin/sh
 
-if [ -z "$1" ]; then
-       echo "usage: $0 <metafile>"
-       exit 
-fi
+#if [ -z "$1" ]; then
+#      echo "usage: $0 <metafile>"
+#      exit 
+#fi
 trgfile="header.xml" ; srcfile=$1
 
 # general
@@ -21,7 +21,7 @@ total=`grep '^[0-9]' $srcfile | tail -1 | awk '{ print $1 }'`
 ((count = 0))
 
 # print normal header
-cat > $trgfile << EOF
+cat << EOF
 
 <slide effect="none">
 <header size="10"></header>