Hi all,
I'm new in unix scripting and I've a problem with a script...
I need to read a file, add some fields in the records, and write them in another file, but even when I simply read and write the records, the shell interprets some caracters and the result is that the records get splitted on multiples lines, loosing that characters.
For example:
for cur_line in `cat "$fil"`
do
echo "$cur_line"
done;
In each record I can find any type of special characters: like " ' & ; , and so on...
Maybe someone can help me...
I hope I've been clear enough, although my english...
Thank a lot.