From d4718fc6f08ab3c8a0f37809c67fcb9bfe286bbb Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Wed, 20 Mar 2013 17:53:09 +0100 Subject: [PATCH] Whitespace and small fixes --- scripts/demo-alphabet.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/demo-alphabet.sh b/scripts/demo-alphabet.sh index a0195a4..22e2c4e 100755 --- a/scripts/demo-alphabet.sh +++ b/scripts/demo-alphabet.sh @@ -31,7 +31,7 @@ status=$(curl -s \ --header 'Content-Length: 3' \ --header 'Content-Range: bytes 0-2/26' \ --data 'abc' \ -${SERVICE}${location} |head -n1 |tr -d '\r') +${SERVICE}${location} |head -1 |tr -d '\r') echo "<-- ${status}" # check that data with HEAD @@ -57,7 +57,7 @@ status=$(curl -s \ --header 'Content-Length: 3' \ --header 'Content-Range: bytes 22-25/26' \ --data 'xyz' \ -${SERVICE}${location} |head -n1 |tr -d '\r') +${SERVICE}${location} |head -1 |tr -d '\r') echo "<-- ${status}" # check that data with HEAD @@ -68,4 +68,5 @@ echo "<-- Range: ${has_range}" # get that data with GET echo -ne "GET '${SERVICE}${location}' \t\t" has_content=$(curl -s ${SERVICE}${location}) -echo "<-- ${has_content}" \ No newline at end of file +echo "<-- ${has_content}" +