e/index.php/t-223160.html))
Hallo!
<code>while
read line
do
echo -e "$line"
done < ./users.csv
</co... , z.b.: in der variabel username kommt "Testuser" rein, in der Variabel Passwort "kennwort" usw...
Au... ch einfach die Möglichkeit, eine Eingabezeile von read über die Umgebungsvariable IFS (Input Field Separator) zu splitten:
<code>
IFS=";"
while read User Password Email
do
echo -e "$User $Password
===
Common practice for inputing passwords is to read the text without displaying it on the screen. T... ands typed at the shell) will not be echoed.
To restore the echoing, use stty echo. However, it is p... case we cannot prevent echoing passwords) and the result of the second command will be that every char... tate of stty is stored before the stty change and restored after the read. The following code will rea
r aus, und zwar in Schreibrichtung von links nach rechts. Stehen Umleitungen hinter einem zusammengese... ffnen, zum Beispiel:
<code>
# Dateimischer
while read X <&3 && read Y <&4 && read Z <&5
do
echo $X $Y $Z
done 3<Datei-1 4<Datei-2 5<Datei-3
</code>
Die Anzahl der o
ehensive, but its likely to be all you'll need to remember (if you need anything else, you can always ... t', or `/dev/stderr', file descriptor 0, 1, or 2, respectively, is checked.
-a file
True if file ex... e exists.
-f file
True if file exists and is a regular file.
-g file
True if file exists and its... ipe (FIFO).
-r file
True if file exists and is readable.
-s file
True if file exists and has a s