Hallo,
ich möchte die Ausgabe von AWK in eine Variable schreiben, aber leider funktioniert das nicht richtig.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/bin/bash while true do THREADS="https://aaa/b/ccc/ddd/eee\ https://aaa/c/ccc/ddd/fff" for URL in $THREADS do PART = `echo $URL | awk -F "/" '{print $4}'` echo $PART done sleep 1800 done |
Hat jemand eine Idee wie ich diesen Output in $PART bekomme ?
Gruß Mardor