Today is Domingo, 5th Febrero 2012

Shell script: leer cada línea de un fichero

#!/bin/bash

exec 0< fichero1
while read -r LINEA
do
echo $LINEA
done

Leave a Reply





Top