On Fri, 18 Aug 2023 12:25:22 -0400, Rick Troth wrote: > ... >DASH is an excellent test shell for shaking out compatibility problems. > But as delivered with many systems it lacks command recall.
>Acorse, the best option would be to run scripts against *several* shells >(and DASH, BASH, ZSH, and PDKSH are all easy to come by). > If the supplier claims compatibility with such shells they should be tested. But only POSIX should be required. (Some) Linux distributions implement system() using dash for performance. Accordingly, there are pleas: "Please, please, add this tiny bashism. It would be *so* useful, and not hard to do." The correct answer is, "No." >We're also (here) not talking about interactive shell, but we've drifted >into scripting. > Grrr. Once, using csh (it was a mistake) I discovered that comments were considered syntax errors in interactive mode. But I like to copy/past snippets to command line for tests. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN