Supportnet / Forum / Linux
shell scripting
Frage
Hallo Mitstreiter,
brauche Hilfe beim erstellen eines bash scriptes. Ich muss die Zeile X aus einer Datei in eine Variable einlesen.
Hat zufällig jemand eine Idee ???
Vielen Dank und schönes Wochenende
Antwort 1 von Marcus_Brand
Hab schon eine Lösung gefunden:
#! /bin/bash
while read ZEILE; do
test "$ZEILE" != "EOF" && echo $ZEIE
done < QUELLDATEI
#! /bin/bash
while read ZEILE; do
test "$ZEILE" != "EOF" && echo $ZEIE
done < QUELLDATEI

