readline usage tips Posted on 2021-09-28 In tips A readline usage example 1234567891011#!/bin/bashinput="$1"m=(0)while IFS= read -r linedo # do something # echo "$line" echo $line > $m.html m=$((m+1))done < "$input"