Re: print -R compatibility

2017-02-10 Thread Jean Delvare
On Fri, 10 Feb 2017 13:10:20 + (UTC), Thorsten Glaser wrote: > That’s ksh88 where you(r customer) come(s) from? Our previous products included ksh93. > >> We have the echo you mean in POSIX mode though… > > > >Not sure what you mean here. I see that the echo command behavior is > >changed if 

Re: print -R compatibility

2017-02-10 Thread Thorsten Glaser
Jean Delvare dixit: >I din't think -R currently emulates either properly (but I suppose I >can't complain, as "to some degree" could be read as implying just >that.) BSD echo will print arguments starting with a dash, other than a Hmm, okay. In that case (I’ll recheck with legacy BSD sources

Re: print -R compatibility

2017-02-10 Thread Jean Delvare
Hi Thorsten, Thanks for your quick answer. On jeu., 2017-02-09 at 18:46 +, Thorsten Glaser wrote: > Jean Delvare dixit: > >In mksh, "print -R" is not as close to "echo" as it was in original > >ksh. Specifically, after "-R", mksh's print command keeps parsing > >the command line in search of