Maybe someone could give me a clue for my problem.
Let's suppose I have this two lines:
blablablabla
blablablabla
(the second line begins with a space)
I tried to test the first character on my line:
while read line
do
check=${line:0:1}
done < file.txt
In both cases, check = 'b'
! That's annoying, because I need this information for the rest of the treatment.