Ubuntu Pastebin

Paste from MacroMan at Tue, 30 Aug 2016 08:59:45 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#!/bin/bash
errors=$(<test.log)
if ["$errors"]
        then
                echo "$errors"
fi


# Output:
./error.sh: line 3: []: command not found
Download as text