Commit d2f8bf79 authored by iSergio's avatar iSergio
Browse files

Echo improve

parent d4348d04
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -15,3 +15,12 @@ function align_left() {
    local str="${@:2}"
    echo -n ${str}${chars:${#str}}
}

function align_echo() {
    if [[ "$1" != 0 ]]; then
        echo $FAIL
        echo "$2"
    else
        echo $DONE
    fi
}