diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-03 14:37:56 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-03 14:37:56 +0100 |
commit | 19135681a6807e8b7df6f91821294f511449dbd2 (patch) | |
tree | d41b62315dac847a3763862cb8f54f664bced7ac /src/fifa.sh | |
parent | dee1f98a0a7b2b5d77a8a0fd9235b450e6374354 (diff) |
echo newline fix
Diffstat (limited to 'src/fifa.sh')
-rwxr-xr-x | src/fifa.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fifa.sh b/src/fifa.sh index 69d8b34..ef3a0b2 100755 --- a/src/fifa.sh +++ b/src/fifa.sh @@ -21,7 +21,7 @@ Available procedures on the filesystem:\n then DIALOG --msgbox "$msg" 14 65 else - echo "$msg" + echo -e "$msg" fi } @@ -36,7 +36,7 @@ die_error () then DIALOG --msgbox "Error: $@" 0 0 else - echo "ERROR: $@" + echo -e "ERROR: $@" fi exit 2 } @@ -57,7 +57,7 @@ show_warning () dialog --title "$1" --exit-label "Continue" --$3box "$2" 18 70 || die_error "dialog could not show --$3box $2. often this means a file does not exist" else echo "WARNING: $1" - [ "$3" = msg ] && echo $2 + [ "$3" = msg ] && echo -e "$2" [ "$3" = text ] && cat $2 || die_error "Could not cat $2" fi } @@ -70,7 +70,7 @@ notify () then DIALOG --msgbox "$@" 20 50 else - echo "$@" + echo -e "$@" fi } |