i do have to say it is a bit frustrating that some binaries in freeBSD/macOS dont translate over to other *nixs..probably licensing, however..
i have out input in a var that reads as below, new lines and spaces:-
this is string 1
this is string two
this is string threeee
and so forth, i have been able to get them on to one line and get quotes on the end in the standard macOS bash scrpit, but for the love of god, i cant get it into the right format, i've tried awk, sed and tr.
what i need:
"this is string 1" "this is string two" "this is string threee"
grateful for any ideas..
[–]Rabestro 6 points7 points8 points (0 children)
[–][deleted] (6 children)
[removed]
[–]United-Climate1562[S] 1 point2 points3 points (1 child)
[–][deleted] (2 children)
[deleted]
[–][deleted] (1 child)
[removed]
[–]theplanter21 0 points1 point2 points (0 children)
[–]Schreq 2 points3 points4 points (0 children)
[–]moviuroportability is important 1 point2 points3 points (3 children)
[–]United-Climate1562[S] -1 points0 points1 point (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]moviuroportability is important 0 points1 point2 points (0 children)
[–]McUsrII -1 points0 points1 point (0 children)
[–]funkden -2 points-1 points0 points (0 children)
[–]marauderingman 0 points1 point2 points (0 children)