sed "s/[][,']//g"
I used this, but then I have empty lines getting returned. I know that you can use:
sed '/^[[:space:]]*$/d'
However, trying sed "s/[][[:space:]][,']//g"
didn't work as well as other stuff I have tried.
sed "s/[][,']//g"
I used this, but then I have empty lines getting returned. I know that you can use:
sed '/^[[:space:]]*$/d'
However, trying sed "s/[][[:space:]][,']//g"
didn't work as well as other stuff I have tried.
sed
is a scripting language; combine the two commands to get the effect you seek.
sed "s/[][,']//g;"'/^[[:space:]]*$/d'