From 96d9f618af0eaf91b44dabacfb54a74104f218d5 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Sun, 18 Jul 2010 23:16:34 +0100 Subject: [PATCH] newline after dumping xml response --- syncfolder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncfolder.sh b/syncfolder.sh index eb904fc..9df1168 100755 --- a/syncfolder.sh +++ b/syncfolder.sh @@ -50,7 +50,7 @@ if ! curl $CURLAUTH -L -H "Content-Type: text/xml" \ exit 1 fi sed 's/\(<[^/]\)/\n\1/g' $RESULTFILE - +echo # I'm far too lazy to do proper XML parsing for a proof-of-concept (sed 's/\(<[^/]\)/\n\1/g' $RESULTFILE; echo) | while read LINE; do case $LINE in -- 2.49.0