X-Git-Url: https://hackdaworld.org/gitweb/?p=lectures%2Fdfb-slides.git;a=blobdiff_plain;f=head2xml;fp=head2xml;h=26ecd0c70896276cb1fa9965ffdf26d81f2b0d5c;hp=4f3d5ed74aa7264f5ecd33f57f727cbe0794846f;hb=8e69d8274b3ec021455ba262c172367c367d3e6b;hpb=1725e9877e275c3da73250ac5d373eaf532c6027 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