Hi, Boyd!
On Tue, Apr 20, 2010 at 11:18 AM, Boyd Stephen Smith Jr.
<bss@iguanasuicide.net> wrote:
Not portably. It might be possible by parsing ($SHELL -V -c 'exit 123') or
($SHELL --version -c 'exit 123').
Say, that's a clever approach, thanks for suggesting it.
Sorry, I don't even see a good way to tell if a function with a particular
name is defined, but less list all the functions in the current shell
environment.
Can
you clarify? Listing all the functions in the current shell
environment solves my issue perfectly.. But less is just a pager, no?
Oh, wait, did you mean "much less list"? In which case, we're in the
same boat, but I'm hoping there is a solution I'm not aware of (even
though my hopes are dim :) )
Bash is still an essential package last I checked. You might simply use
/bin/bash and whatever bash-isms you like.