1 ## narobe:
 2 % cat test
 3 #!/bin/bash
 4 remotemd5stripped=foo
 5 localmd5stripped=bar
 6 if [ "$remotemd5stripped" = "$localmd5stripped" ]; then
 7   echo "MD5 je $remotemd5stripped"
 8 else
 9   echo "NI ujemanja: $remotemd5stripped, $localmd5stripped"
10 fi
11 
12 % ./test
13 NI ujemanja: foo,bar
14 
15 ## prav:
16 cat test
17 #!/bin/bash
18 remotemd5stripped=foo
19 localmd5stripped=foo
20 if [ "$remotemd5stripped" = "$localmd5stripped" ]; then
21   echo "MD5 je $remotemd5stripped"
22 else
23   echo "NI ujemanja: $remotemd5stripped, $localmd5stripped"
24 fi
25 
26 % ./test
27 MD5 je foo