79482662

Date: 2025-03-04 04:22:10
Score: 0.5
Natty:
Report link

Some cases the while read from file get "exhausted"

Then I map the the file to an array before using while loop

mapfile -t lines < "$file"
for line in "${lines[@]}"; do
    printf "${line}"
done
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tirsvad