Shell Unix:Gestione di stringhe

← Torna ad Shell Unix

Trattamento stringa per rimuovere i carriage return

LINE=$(echo $LINE | sed -e 's/\r//g')

Confronto di stringhe

if [ $dom = "my" ]; then
   ...
fi