Editor For Json Mac

Best and Secure Online JSON Editor works well in Windows, Mac, Linux, Chrome, Firefox, Safari and Edge.

Active2 years, 9 months ago

Obviously in a Unix environment using .*$ will match any number of characters till the end of the line.

However, when executing a sed using

as my regex on a mac, I get the error

sed: 1: 's/'ParameterValue': '.* ...': unterminated substitute in regular expression

I expect it to match against 'ParameterValue': 'buildname' where buildname could be any of three dozen different options in different formats, preventing a more exact regex.

The script will always be run from a mac environment so I have to have a solution that will work on a mac.

TL;DR: How do I match till the end of the line in bash on a mac?

EDIT:By request, my script. For security reasons I can only show this section. Image and grepname are both defined in earlier lines.

And an excerpt from the relevant file;

Essentially I need to replace this particular parameter value which is located in a newly generated file with one passed into the script. I was trying to avoid asking for someone to solve my problems for me by focusing on just the error, but if you have a better solution overall please let me know.

MacInian
45k7 gold badges57 silver badges84 bronze badges
AlexAlex
6873 gold badges9 silver badges30 bronze badges

2 Answers

mklement0
156k26 gold badges276 silver badges321 bronze badges
chepnerEditor

Json Schema Editor For Mac

chepner
286k42 gold badges283 silver badges385 bronze badges

Free Json File Editor

ForCharles Duffy

Free Json Editor For Windows

Charles Duffy
192k29 gold badges220 silver badges277 bronze badges

Json Editor For Macos

Not the answer you're looking for? Browse other questions tagged regexbashmacossed or ask your own question.