[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] Does shell in Busybox support "getopts" command ?
From:       xueming <xueming95 () vip ! sina ! com>
Date:       2005-01-17 9:21:43
Message-ID: 1105953703.2893.3.camel () localhost ! localdomain
[Download RAW message or body]

Hello Wolfgang,

 ok.Thanks for your help. Then it's ok now.
After  I change "#!/bin/sh" to "#/bin/bash2 " in file of the smbtar
script, then it work well.

ÔÚ 2005-01-17 Ò» µÄ 16:33£¬ Wolfgang Denk дµÀ£º
> In message <000101c4fc66$b39e8270$f3ec403b@xueming> you wrote:
> > 
> >   ./smbtar: 141: getopts: not found
> >   
> >    I change the shell from ash to bash2,  but still the same error.
> > Could you give me some advice on how to handle this problem?
> 
> getopts is a bash builtin; if you really use bash as  your  shell  it
> should work.
> 
> Best regards,
> 
> Wolfgang Denk




_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic