You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just adding my 2 cents here: doing it in go will add more complexity like you would have to handle different new line characters, encodings, etc. Using sed I think, already does all of that for you
There are definitely pros and cons to each approach! I am going to ponder on this for a few days and make changes, and most specifically, I want to refactor the current code to be concise.
Just adding my 2 cents here: doing it in go will add more complexity like you would have to handle different new line characters, encodings, etc. Using sed I think, already does all of that for you
Yeah, True, IMO we can use shell script instead of go to use the system commands like sed.
The code contains the logic to invoke system command line tools to find and replace the set-output line. Instead of this use go string manipluation.
The text was updated successfully, but these errors were encountered: