You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$1 max len
$2 string
Si la longueur de string est supérieur à max len alors
string est raccourcie pour ne faire que max len caractères.
Par exemple
XXXXXXXXXXXXXXXXXXX
deviendra XXX...XXX
Public function string_fit_on_screen
$1 gap (si non précisé vaudra 0)
$2 string
Public function yn_to_bool
D'après mes scripts where_is_used et lib_func_usage.sh la fonction n'est
plus utilisée. Comme je suis convaincu l'avoir vue récemment dans un script
et que je remets en doute mes talents de scripteur je garde au cas ou.
Ajout : 31/08/2016
return string :
true if $1 in( y, yes )
false if $1 in( n, no )