Date: 25 Feb 2002 12:25:41 -0800 From: swear@blarg.net (Gary W. Swearingen) To: "Mike Meyer" <mwm-dated-1015036545.8978d2@mired.org> Cc: questions@freebsd.org Subject: Re: Linux shell scripts Message-ID: <x1wux1wbp6.ux1@localhost.localdomain> In-Reply-To: <15481.41728.865317.239202@guru.mired.org> References: <15481.41728.865317.239202@guru.mired.org>
next in thread | previous in thread | raw e-mail | index | archive | help
"Mike Meyer" <mwm-dated-1015036545.8978d2@mired.org> writes: > Gary W. Swearingen <swear@blarg.net> types: > > It's reasonable, if not ideal, to require that "bash" or even "bash2" be > > installed > > Having exterminated bash on all my systems, I'd not call that > reasonable, much less ideal. Maybe "if not ideal" is not ideal writing. You make me wonder if I was misinterpreted. I tried to imply that I thought it was "not ideal" while actually using a non-judgemental "if". Did you infer the opposite? Maybe I need to be less polite, like using "though not ideal" or "though hardly ideal". > On the other hand, I never learned the > *scripting* features that bash has that might cause one to want to use > it instead of sh. On the gripping hand, anytime a script requires more > than one loop or conditional test, it's time to consider a real > scripting language, like Perl or - ideally :-) - Python. Care to explain why Bash is an unreasonable dependency, while Perl and Python (and Ruby and autoconf and libxml2 and ...) are (?) reasonable? I'd like to avoid Bash too, but I find it unreasonable to expect others to share my choice in shells. On a practical level, how do you handle ports and other software that requires Bash? Don't use the software? Work with the maintainer to eliminate the need? Some ports that seem to depend on bash1 or bash2: instant-workstation, hylafax, sqsh, linux_base, wine, txt2regex, tex2im, linux-lesstif-ns; there are many fewer than I expected to find. (Looks like I got infected via linux_base.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?x1wux1wbp6.ux1>