diff -ur scripts/duration scripts/duration
|
|
|
14 | 14 | #// |
15 | 15 | #//////////////////////////////////////////////////////////////////////////// |
16 | 16 | |
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" |
| 17 | BLACK="\x1B[1;30m" |
| 18 | DARK_GREY="\x1B[1;30m" |
| 19 | BLUE="\x1B[1;34m" |
| 20 | LIGHT_BLUE="\x1B[1;34m" |
| 21 | GREEN="\x1B[0;32m" |
| 22 | LIGHT_GREEN="\x1B[1;32m" |
| 23 | CYAN="\x1B[1;36m" |
| 24 | LIGHT_CYAN="\x1B[1;36m" |
| 25 | RED="\x1B[1;31m" |
| 26 | LIGHT_RED="\x1B[1;31m" |
| 27 | PURPLE="\x1B[0;35m" |
| 28 | LIGHT_PURPLE="\x1B[1;35m" |
| 29 | BROWN="\x1B[0;33m" |
| 30 | YELLOW="\x1B[1;33m" |
| 31 | LIGHT_GREY="\x1B[1;37m" |
| 32 | WHITE="\x1B[1;37m" |
| 33 | BOLD_BLACK="\x1B[1m" |
| 34 | PLAIN="\x1B[0m" |
35 | 35 | |
36 | 36 | #//////////////////////////////////////////////////////////////////////////// |
37 | 37 | #// Compute and print duration |
diff -ur scripts/ndm_functions scripts/ndm_functions
|
|
|
52 | 52 | INPUTS_MISSING=11 |
53 | 53 | VAR_MISSING=20 |
54 | 54 | |
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" |
| 55 | BLACK="\x1B[1;30m" |
| 56 | DARK_GREY="\x1B[1;30m" |
| 57 | BLUE="\x1B[1;34m" |
| 58 | LIGHT_BLUE="\x1B[1;34m" |
| 59 | GREEN="\x1B[1;32m" |
| 60 | LIGHT_GREEN="\x1B[1;32m" |
| 61 | CYAN="\x1B[1;36m" |
| 62 | LIGHT_CYAN="\x1B[1;36m" |
| 63 | RED="\x1B[1;31m" |
| 64 | LIGHT_RED="\x1B[1;31m" |
| 65 | PURPLE="\x1B[1;35m" |
| 66 | LIGHT_PURPLE="\x1B[1;35m" |
| 67 | BROWN="\x1B[0;33m" |
| 68 | YELLOW="\x1B[1;33m" |
| 69 | LIGHT_GREY="\x1B[1;37m" |
| 70 | WHITE="\x1B[1;37m" |
| 71 | BOLD_BLACK="\x1B[1m" |
| 72 | PLAIN="\x1B[0m" |
73 | 73 | |
74 | 74 | #//////////////////////////////////////////////////////////////////////////// |
75 | 75 | #// Messages (erros, warnings, headers) |