2
Repetir arquivo delineado por tabulação no script bash
Aqui está o que eu tenho até agora: #!/bin/bash while read line; do DB=$(echo $line | cut -f1) USER=$(echo $line | cut -f2) PASS=$(echo $line | cut -f3) echo DB=$DB USER=$USER PASS=$PASS done < users.txt E uma amostra do arquivo de entrada: drupal_1 drupal1 tmmjXSWL drupal_2 drupal2 FHiJSYHM drupal_3 drupal3 …
18
bash