1
I have a file in this format (the zero indicates that the line has finished):
-1 2 0
-2 3 0
$
-1 3 0
What do I do to identify if the file line has a $
? Because I have to implement this condition to effect the exchange of signals of the numbers, that each number (with signal exchanged) has its own line and that each line must end with zero.