Dnia wtorek, 2 sierpnia 2016 00:16:13 CEST grarpamp pisze:
On 8/1/16, rysiek <rysiek@hackerspace.pl> wrote:
lines of Bash it has been made simpler. Comments, pull requests, criticism welcome.
It's not posix sh(1) compatible, nor appear need any bashism. there function is (), source is . , == isn't, [[ is deprecated, which is then bash too. Intermixes standard $() and lazy backquotes. Don't tell people to consider running backquotes, because they will ;)
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sh.html http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html
Yes, this code needs some love, and admittedly POSIX-compatibility was not the focus at the time of writing it. As in it would be a nice-to-have, and if I find time to do it, I will. :) Thanks for pointing this out. -- Pozdrawiam, Michał "rysiek" Woźniak Zmieniam klucz GPG :: http://rys.io/pl/147 GPG Key Transition :: http://rys.io/en/147