#!/bin/bash
## path to input file 
input="lists.txt"
 
## Let us read a file line-by-line using while loop ##
while IFS= read -r line
do
  printf 'Working on %s file...\n' "$line"
done < "$input"

 

Leave a Reply

Your email address will not be published. Required fields are marked *