I am getting data in bash and storing it in Variables.
Half the time I get the string, the other half of the time I get the string terminated with hex 0a on the end if I
pipe it to hexedit -C
is there an easy way to strip this from the variable with a $(varname. ) or something like it ?
I am having this issue a lot
I am using the later version of redhat :)