On 17.12.2014 10:07, Kacper Kornet wrote:
     - behave as proper sh when invoked as /bin/sh, wothout fancy, incompatible 
hacks
     - rel 2
This change breaks our rc-scripts:

$ rpm -q mksh
mksh-50d-1.x86_64
$ /bin/sh -c "echo -en '\n'"

$ rpm -q mksh
mksh-50d-2.x86_64
$ /bin/sh -c "echo -en '\n'"
-en \n

There was a small discussion about it some time ago:
https://lists.pld-linux.org/mailman/pipermail/pld-devel-pl/2011-May/153795.html

so, our rc-scripts is not using portable shell. what would be portable (posix) version of above code that behaves as rc-scripts intended?

printf?


--
glen

_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to