I want to get rid of the "," at the end of variable, and then make a directory using the varable name. For example, if the varaible = "Harry,"
I want to make a directory Harry
I have tried:
mkdir $variable|tr -d ,
But the directory made is Harry, (with the ",") instead of Harry.
How can I get rid of the ","