Output error messages in sprunge to stderr.

This commit is contained in:
Simon Gomizelj 2011-11-29 15:46:53 -05:00
commit c83ecd5d1a

View file

@ -42,7 +42,7 @@ sprunge() {
# Use python to attempt to detect the syntax
for file in $@; do
if [[ ! -f $file ]]; then
echo "$file isn't a file"
echo "$file isn't a file" >&2
continue
fi