From 32e45e477684c222ee7162dae1cc0e0cb52b8b9b Mon Sep 17 00:00:00 2001 From: hackbard Date: Fri, 28 Feb 2003 15:35:26 +0000 Subject: [PATCH] fixed xml creator script --- create-xml | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/create-xml b/create-xml index 753308e..529c180 100755 --- a/create-xml +++ b/create-xml @@ -59,11 +59,7 @@ while [ "1" ]; do $kapitel EOF - for up in `grep ^${count} $file | awk -F^ '{ for(i=3;i<=NF;i++) print $i }'`; do - cat >> $name << EOF - $up -EOF - done + grep ^${count} $file | awk -F^ '{ for(i=3;i<=NF;i++) print " "$i"" }' >> $name cat >> $name << EOF EOF @@ -88,17 +84,13 @@ while [ "1" ]; do EOF ((j = 0)) - for up in `grep ^${count} $file | awk -F^ '{ for(i=3;i<=NF;i++) print $i }'`; do - cat >> $name << EOF - $up - - muster - muster - muster - muster - -EOF - done + grep ^${count} $file | awk -F^ '{ for(i=3;i<=NF;i++) print " " $i " \ + \ + muster \ + muster \ + muster \ + muster \ + " }' >> $name cat >> $name << EOF EOF -- 2.39.2