: | Not being a bash whiz to begin with, I was very upset to find that the
: | scripts I finally got working, no longer work under the latest edition
: | of slackware. It seems that bash itself is different. The 'getopt'
: | command doesn't exist anymore, I had to change to 'getopts', but even
: | that doesn't work. Is there some diff-file comparing the old bash and
: | the new bash?
: A) there never was a getopt command in bash (see below)
: B) getopts is not the same, you have to change the script
: C) the new Slackware should have included getopt, major omission
: but it's not part of bash and never was.
Actually in regard to C), the name of the binary is "getoptprog". That's
the name that was given to it in the version of util-linux used in Slackware
3.0. I think it used to be called getopt in previous releases of util-linux
and I'm not sure why the name changed.
So... changes your script to use getoptprog, or make a link getopt ->
getoptprog and everything should work fine.
Pat