<code>while
read line
do
echo -e "$line"
done < ./users.csv
</code>
Mit diesem Bash Skript lese ich ein... er3@linux.local</code>
Das wäre dan die Ausgabe (Username;Passwort;E-Mail).
Nun will ich aber, den Usernamen, Passwort und E-Mail Adresse in einer eigenen Variabel speichern, z.b.: in der variabel username kommt "Testuser" rein, in der Variabel Passw
y be unary or binary. Unary expressions are often used to examine the status of a file. There are strin... minal.
-u file
True if file exists and its set-user-id bit is set.
-w file
True if file exists an... True if file exists and is owned by the effective user id.
-G file
True if file exists and is owned ... tring2
True if the strings are equal. `=' may be used in place of `=='.
string1 != string2
True if
o turn off echoing, the command stty -echo can be used. Any subsequent user input (including commands typed at the shell) will not be echoed.
To restore the echoing, use stty echo. However, it is poor programming to mak... ppear twice.
To avoid this, a neat stty trick is used in which the original state of stty is stored be