Hi, On Sat, Mar 16, 2013 at 12:38:28AM +0100, Harald Becker wrote: > >"source" is bashism, and "." should be preferred for portability. > > Definitely not! Even very old Unix shells (and alike) back in the 80th > accepted both syntax forms (but shells are different and not all are > standards conform). I do not know, what the standards documents tell > about this, I prefere "source" in scripts (sh not bash) for it's better > readability (and it's easier to search).
I used to think so too, but e.g. when Debian changed /bin/sh to dash, many of my scripts broke badly. So it's good to check the standards documents every once in a while... A. _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
