Hi!
I have for example a script/file:
+1 echo "toto"
+2 echo
"abcdef
+3 echo "dqmsl" $r "dsqlfj"
+4 cat titi | tr \t
' ';'
+5 exit
---------------------------------------
I try to find a solution who say:
<ERROR>
The character " has been forgotten a the line 2
The character ' has been forgotten at the line 4
I don't know if you anderstand what I say, but if:
2 or 4 or 6 or 8 or ..... characters " in a line => It is OK
1 or 3 or 5 or 7 or ..... characters " in a line => ERROR! character forgotten
It is the same for ' and `
I think a grep solution exist to recupere the number of character but I don't find it....
Thinks for your help!!!