Kiffa/kiffa-iterate.sh

9 lines
149 B
Bash
Executable file

#!/bin/sh
set -eu
LISTA=${1?Falta el argumento arg1: nombrearchivo}
while read -r ID HOST PORT DB; do
echo ${HOST} ${PORT} ${DB}
done < ${LISTA}