Bug#600156: debian-goodies: dglob error '[: 66: no: unexpected operator'

2010-10-14 Thread Axel Beckert
Hi,

A. Costa wrote:
 Package: debian-goodies
 Version: 0.54
 Severity: normal
 
 Observed while searching:
 
 % dglob oocalc ; echo $?
 [: 66: no: unexpected operator
 0
 
 Both error message  exit code '0' seem buggy.

Yep, could reproduce this here on a Sid box.

The version in Squeeze seems fine.

Regards, Axel
-- 
 ,''`.  |  Axel Beckert a...@debian.org, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-|  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#600156: debian-goodies: dglob error '[: 66: no: unexpected operator'

2010-10-14 Thread Sven Joachim
On 2010-10-14 09:41 +0200, Axel Beckert wrote:

 A. Costa wrote:
 Package: debian-goodies
 Version: 0.54
 Severity: normal
 
 Observed while searching:
 
 % dglob oocalc ; echo $?
 [: 66: no: unexpected operator
 0
 
 Both error message  exit code '0' seem buggy.

 Yep, could reproduce this here on a Sid box.

I guess that's what you get when you run a bash script by /bin/sh.

,
| possible bashism in dglob line 38 (should be 'b = a'):
| if [ $all == yes ] ; then
| possible bashism in dglob line 43 (echo -e):
| echo -e WARN: You requested information on files of all 
packages,\nWARN: however, since the 'apt-file' package is not available, 
this\nWARN: information can only be provided for those packages currently 
installed. 2
| possible bashism in dglob line 54 (should be 'b = a'):
| if [ $all == no ] ; then
`

Sven



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#600156: debian-goodies: dglob error '[: 66: no: unexpected operator'

2010-10-13 Thread A. Costa
Package: debian-goodies
Version: 0.54
Severity: normal


Observed while searching:

% dglob oocalc ; echo $?
[: 66: no: unexpected operator
0

Both error message  exit code '0' seem buggy.

Hope this helps...


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages debian-goodies depends on:
ii  curl  7.21.1-1   Get a file from an HTTP, HTTPS or 
ii  dctrl-tools [grep-dctrl]  2.14.4 Command-line tools to process Debi
ii  dialog1.1-20100428-1 Displays user-friendly dialog boxe
ii  less  436-1  pager program similar to more
ii  perl  5.10.1-15  Larry Wall's Practical Extraction 
ii  python2.6.6-3interactive high-level object-orie
ii  whiptail  0.52.11-1  Displays user-friendly dialog boxe

Versions of packages debian-goodies recommends:
ii  lsof   4.81.dfsg.1-1 List open files

Versions of packages debian-goodies suggests:
ii  popularity-contest   1.49Vote for your favourite packages a
ii  xdg-utils1.0.2+cvs20100307-2 desktop integration utilities from
ii  zenity   2.30.0-1Display graphical dialog boxes fro

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org