-3

I am using

sed -s n v

Nothing works for me

Ryan
  • 1
  • 4
  • 1
    Do you get an error? if so, add that message to the question. Which version of `sed` are you using, `GNU sed` or something else? See https://stackoverflow.com/questions/5694228/sed-in-place-flag-that-works-both-on-mac-bsd-and-linux – Sundeep Jun 02 '20 at 09:52

1 Answers1

-1

The -i flag is only in GNU Sed.

cat file | tr ']' '[' > temp
mv temp file

The above should work for you.

petrus4
  • 616
  • 4
  • 7