ok, 'expr' is actually a seperate unix tool and not a part of 'sh' (i.e., /bin/expr). According to the O'Reilly unix power tools book, ':' is a standard feature of it.
i don't think functions are an 'sh' feature, it is these that may need to be re-done from the scripts, but for now it should be fine for certain users to just do something like this: $ cd scripts $ perl -pi -e 'm@/usr/local/bin/bash@ || s@/bin/bash@/usr/local/bin/bash@' * --pete On Wed, 12 Apr 2000, Bill Trost wrote: > Pete Weisz writes: > the jar-based ones work fine on my (FreeBSD) system sh. > > So your /bin/sh is overfeatured, too. (-: Really, it is -- FreeBSD's > /bin/sh has command-line editing and shell functions, for crying out > loud. It's hard to describe *that* as minimalist! > > I scrounged up a SunOS 4 box, and have found a variety of little > things that needed to be changed. The last remaining one is the > realnamification in scripts/freenet_insert.jar.in, which I will leave > for now, but would very much like to make go away (I'm pretty sure ":" > is not a portable expr feature, but I could be mistaken). > > _______________________________________________ > Freenet-dev mailing list > Freenet-dev at lists.sourceforge.net > http://lists.sourceforge.net/mailman/listinfo/freenet-dev > _______________________________________________ Freenet-dev mailing list Freenet-dev at lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/freenet-dev
