1
I am trying to fix some formatting errors of a file and have as input:
"[""teste""]"
And I wanted to get an output like:
["teste"]
I’ve tried this command but it makes me wrong:
sed -i s/"["/[/g *.csv
sed -i s/"]"/]/g *.csv
The error shown is as follows::
sed: -e expressão #1, caractere 7: Comando `s' inacabado (s/// - faltou delimitador)
Can someone help me?
I am in windows and the use of ' does not work, I used the command you suggested and the output was the same as the input
– Jojo
But you marked [tag:bash], and the quote simply works with bash. Windows independent or not
– Jefferson Quesado