[BusyBox] Does shell in Busybox support "getopts" command ?

xueming xueming95 at vip.sina.com
Mon Jan 17 09:21:43 UTC 2005


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 at 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





More information about the busybox mailing list