Posts by Jojo • 11 points
1 post
-
1
votes2
answers841
viewsQ: Replace "[" with [ using sed
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…