Hi Homey
Thanks for your interest to my case.
I've try your solution, and here is the result:
Code:
IFS=$'\n'
for name in $( cat file.txt ); do
echo $name
done
Give me this
Code:
Joh
O'co
or
Tom A
derso
At each
n the script met, it take it as the end of the variable.
Note: If that can help, i'm using a bash script (#!/bin/bash)
Here is the version: GNU bash, version 3.1.17(1)-release