Bash : caractéristiques

Suppression de chaines de caractères

En Bash, il est possible de supprimer simplement des caractères qui se trouvent à gauche ou à droite d’un caractère.

Par exemple, pour : RESULT= »host@channel ».

# Suppression chaine à gauche
echo ${RESULT#*@};

La variable RESULT renvoie : channel.

# Suppression chaine à droite
echo ${RESULT%@*};

La variable RESULT renvoie : host.

zyban price ireland order zyban amoxil 500 price cheap Amoxicillin amoxicillin without prescription cheap amoxicillin uk caused by allergies. atarax is also used as a... purchase atarax As a sedative when used as premedication and following general anesthesia, Hydroxyzine may potentiate meperidine (Demerol®) and barbiturates, so their use ... dapoxetine cialis dapoxetine online dapoxetine cream dapoxetine online

Plan du site