Am 18.03.2013 10:09, schrieb Bastian Bittorf: > * Joshua Judson Rosen <[email protected]> [18.03.2013 09:58]: >> failure to dot/source a file can still result in an error-message without >> making the shell quit. In order to do that, I had to slightly adjust > > somebody posted a link to the posix-standard, where explicity is > written, a shell must abort when a '. $file' fails. what is your > usecase? why is a > > [ -e "$file" ] && . "$file" > > not ok for you? my usecase was more a "speed" issue, because > it's somehow code duplication, but i'am ok with this if the standard > enforces the check. >
GNU has something called POSIX_CORECTLY i would say to do the same here. GNU has actualy a env-var we can use a compile time switch. re, wh _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
