On Wed, 16 Apr 2008 08:38:11 -0400, Forest Bond wrote: > Hi, > > On Tue, Apr 15, 2008 at 02:58:58PM +0200, Jean Delvare wrote: > > On Mon, 14 Apr 2008 23:51:03 +0800, Mini Stac wrote: > > > GNU bash, version 3.2.25(1)-release (i486-pc-linux-gnu) > > > > > > I am afraid I am not familiar with build, but if you can give me some steps > > > or links to a tutorial I would be happy to try it out. > > > > If you're not used to building tools from source code, most packages you > > need (make, gcc, etc.) are probably not installed on your system so you > > won't be able to build bash yourself. > > > > On my end, I tried building bash 3.2 including all the patches ubuntu > > is using, but I was still not able to reproduce the bug you reported: > > pwmconfig worked OK for me. So I just don't know what is going on. > > > > You may want to try reporting the bug to the Ubuntu bash package > > maintainer (if there's anything like that) and see if he/she has an > > idea. > > You may want to check the shebang line on the script. If it is /bin/sh, it is > actually being run by dash, not bash, as that is /bin/sh by default on Ubuntu. > If that is the case, the shebang line should be changed to /bin/bash > > You could also try running the script directly with bash like > `bash /usr/sbin/pwmconfig'. $ head -n 1 /usr/sbin/pwmconfig #!/bin/bash $ -- Jean Delvare