Public bug reported:
Binary package hint: yelp
This code does not produce any output:
#!/bin/bash
# submit like so: bash getopts.sh -b -c george
# or like so: bash getopts.sh -bc george
#an option followed by a colon requires an argument:
while getopts abc:def opt; do
echo opt= $opt and OPTARG= $OPTARG
done
ProblemType: Bug
Architecture: amd64
Date: Sat Jan 23 16:23:22 2010
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/yelp
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: nvidia
Package: yelp 2.28.0-0ubuntu2
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
SourcePackage: yelp
Uname: Linux 2.6.31-17-generic x86_64
** Affects: yelp (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug
--
getopts doesn't work in Ubuntu 9.10
https://bugs.launchpad.net/bugs/511706
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to yelp in ubuntu.
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs