|
Post by Pjot on Jan 6, 2019 21:03:20 GMT 1
All, In the old days I have used the Public Domain Korn Shell (PDKSH) a lot to develop BaCon. Unfortunately, the website for PDKSH seems not to exist anymore. As a tribute, I made a copy of the PDKSH website here. While fiddling around with the sources, I noticed that it would not compile on my Linux Mint machines. I made 2 small adaptations to the signal generation script to make it work again (patch available on the aforementioned link). After successfully compiling and installing PDKSH I found that it could not convert any BaCon program <sigh>. Reason being the string processing in PDKSH, which is just too limited: it cannot handle things like ${var/x/y} for replacements or ${var:0:2} to obtain substrings. So it's official: from now, BaCon cannot work with PDKSH anymore. Note that the original PDKSH sources are from 1999, and haven't changed over 20 years. This is a respectable age for such a powerful shell. It definitely shows how well it was programmed. So RIP PDKSH and thank you for your service! BR Peter
|
|