Reputation: 59
I have below pattern in my file at different lines
""key"": null
I want to replaceu this to
""key"": ""test""
through linux
i used the below commands:
sed -i 's/ null / ""test"" /'
sed -i 's/ null / \"\"test\"\" /'
but failed.
Upvotes: 0
Views: 328