From: hackbard Date: Sat, 22 Mar 2003 09:17:12 +0000 (+0000) Subject: - X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=8e69d8274b3ec021455ba262c172367c367d3e6b;p=lectures%2Fdfb-slides.git - --- diff --git a/head2xml b/head2xml index 4f3d5ed..26ecd0c 100755 --- a/head2xml +++ b/head2xml @@ -1,9 +1,9 @@ #!/bin/sh -if [ -z "$1" ]; then - echo "usage: $0 " - exit -fi +#if [ -z "$1" ]; then +# echo "usage: $0 " +# 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