projects
/
legraldocs:legralnet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
v1.0.1:normalisation de la syntaxe
[legraldocs:legralnet.git]
/
scripts
/
legralcouleur.sh
1
#!/bin/sh
2
#### colorisation #############################################
3
BOLD=`tput smso`
4
NOBOLD=`tput rmso`
5
6
#NORMAL="\[\e[0m\]"
7
BLACK=`tput setaf 0`
8
#RED="\[\e[1;31m\]"
9
RED=`tput setaf 1`
10
GREEN=`tput setaf 2`
11
YELLOW=`tput setaf 3`
12
CYAN=`tput setaf 4`
13
MAGENTA=`tput setaf 5`
14
BLUE=`tput setaf 6`
15
WHITE=`tput setaf 7`
16
17
couleurNORMAL=$WHITE
18
couleurINFO=$BLUE
19
couleurCOM=$YELLOW
20
couleurWARN=$RED
21
couleurTITRE1=$GREEN
22
couleurTITRE2=$MAGENTA
23
24
export BOLD
25
export NOBOLD
26
export BLACK
27
export RED
28
export GREEN
29
export YELLOW
30
export CYAN
31
export MAGENTA
32
export BLUE
33
export WHITE
34
35
export couleurNORMAL
36
export couleurINFO
37
export couleurCOM
38
export couleurWARN
39
export couleurTITRE1
40
export couleurTITRE2