Ticket #38150: patch-scripts-colors.diff

File patch-scripts-colors.diff, 2.2 KB (added by FlorianFranzen@…, 12 years ago)
  • scripts/duration

    diff -ur scripts/duration scripts/duration
     
    1414#//
    1515#////////////////////////////////////////////////////////////////////////////
    1616
    17 BLACK="\e[1;30m"
    18 DARK_GREY="\e[1;30m"
    19 BLUE="\e[1;34m"
    20 LIGHT_BLUE="\e[1;34m"
    21 GREEN="\e[0;32m"
    22 LIGHT_GREEN="\e[1;32m"
    23 CYAN="\e[1;36m"
    24 LIGHT_CYAN="\e[1;36m"
    25 RED="\e[1;31m"
    26 LIGHT_RED="\e[1;31m"
    27 PURPLE="\e[0;35m"
    28 LIGHT_PURPLE="\e[1;35m"
    29 BROWN="\e[0;33m"
    30 YELLOW="\e[1;33m"
    31 LIGHT_GREY="\e[1;37m"
    32 WHITE="\e[1;37m"
    33 BOLD_BLACK="\e[1m"
    34 PLAIN="\e[0m"
     17BLACK="\x1B[1;30m"
     18DARK_GREY="\x1B[1;30m"
     19BLUE="\x1B[1;34m"
     20LIGHT_BLUE="\x1B[1;34m"
     21GREEN="\x1B[0;32m"
     22LIGHT_GREEN="\x1B[1;32m"
     23CYAN="\x1B[1;36m"
     24LIGHT_CYAN="\x1B[1;36m"
     25RED="\x1B[1;31m"
     26LIGHT_RED="\x1B[1;31m"
     27PURPLE="\x1B[0;35m"
     28LIGHT_PURPLE="\x1B[1;35m"
     29BROWN="\x1B[0;33m"
     30YELLOW="\x1B[1;33m"
     31LIGHT_GREY="\x1B[1;37m"
     32WHITE="\x1B[1;37m"
     33BOLD_BLACK="\x1B[1m"
     34PLAIN="\x1B[0m"
    3535
    3636#////////////////////////////////////////////////////////////////////////////
    3737#//   Compute and print duration
  • scripts/ndm_functions

    diff -ur scripts/ndm_functions scripts/ndm_functions
     
    5252INPUTS_MISSING=11
    5353VAR_MISSING=20
    5454
    55 BLACK="\e[1;30m"
    56 DARK_GREY="\e[1;30m"
    57 BLUE="\e[1;34m"
    58 LIGHT_BLUE="\e[1;34m"
    59 GREEN="\e[1;32m"
    60 LIGHT_GREEN="\e[1;32m"
    61 CYAN="\e[1;36m"
    62 LIGHT_CYAN="\e[1;36m"
    63 RED="\e[1;31m"
    64 LIGHT_RED="\e[1;31m"
    65 PURPLE="\e[1;35m"
    66 LIGHT_PURPLE="\e[1;35m"
    67 BROWN="\e[0;33m"
    68 YELLOW="\e[1;33m"
    69 LIGHT_GREY="\e[1;37m"
    70 WHITE="\e[1;37m"
    71 BOLD_BLACK="\e[1m"
    72 PLAIN="\e[0m"
     55BLACK="\x1B[1;30m"
     56DARK_GREY="\x1B[1;30m"
     57BLUE="\x1B[1;34m"
     58LIGHT_BLUE="\x1B[1;34m"
     59GREEN="\x1B[1;32m"
     60LIGHT_GREEN="\x1B[1;32m"
     61CYAN="\x1B[1;36m"
     62LIGHT_CYAN="\x1B[1;36m"
     63RED="\x1B[1;31m"
     64LIGHT_RED="\x1B[1;31m"
     65PURPLE="\x1B[1;35m"
     66LIGHT_PURPLE="\x1B[1;35m"
     67BROWN="\x1B[0;33m"
     68YELLOW="\x1B[1;33m"
     69LIGHT_GREY="\x1B[1;37m"
     70WHITE="\x1B[1;37m"
     71BOLD_BLACK="\x1B[1m"
     72PLAIN="\x1B[0m"
    7373
    7474#////////////////////////////////////////////////////////////////////////////
    7575#//  Messages (erros, warnings, headers)