Permalink
Browse files

POSIX compliant shell script update

  • Loading branch information...
wkpark committed Nov 17, 2015
1 parent 02779bb commit 14446f5868f7e04da94913aaf8a4e9a94cb77e11
Showing with 16 additions and 17 deletions.
  1. +9 −9 monisetup.sh
  2. +7 −8 secure.sh
View
@@ -1,12 +1,12 @@
#!/bin/bash
# $Id$
SUCCESS="echo -en \\033[1;32m"
FAILURE="echo -en \\033[1;31m"
WARNING="echo -en \\033[1;33m"
MESSAGE="echo -en \\033[1;34m"
NORMAL="echo -en \\033[0;39m"
MAGENTA="echo -en \\033[1;35m"
#!/bin/sh
SUCCESS="printf \033[1;32m"
FAILURE="printf \033[1;31m"
WARNING="printf \033[1;33m"
MESSAGE="printf \033[1;34m"
NORMAL="printf \033[0;39m"
MAGENTA="printf \033[1;35m"
$SUCCESS
echo
View
@@ -1,11 +1,10 @@
#!/bin/bash
# $Id$
SUCCESS="echo -en \\033[1;32m"
FAILURE="echo -en \\033[1;31m"
WARNING="echo -en \\033[1;33m"
MESSAGE="echo -en \\033[1;34m"
NORMAL="echo -en \\033[0;39m"
MAGENTA="echo -en \\033[1;35m"
#!/bin/sh
SUCCESS="printf \033[1;32m"
FAILURE="printf \033[1;31m"
WARNING="printf \033[1;33m"
MESSAGE="printf \033[1;34m"
NORMAL="printf \033[0;39m"
MAGENTA="printf \033[1;35m"
$WARNING
echo

0 comments on commit 14446f5

Please sign in to comment.