|
如题 嵌入式linux文件系统没有内置命令declare,应该怎么破。
命令执行现场如下: # declare -/bin/sh: declare: not found
busybox关于shell的设置如下: │ │ Choose your default shell (ash) ---> │ │ --- ash │ │ │ │ [*] bash-compatible extensions │ │ │ │ [*] Job control │ │ │ │ [*] alias support │ │ │ │ [*] Builtin getopt to parse positional parameters │ │ │ │ [*] Builtin version of 'echo' │ │ │ │ [*] Builtin version of 'printf' │ │ │ │ [*] Builtin version of 'test' │ │ │ │ [*] 'command' command to override shell builtins │ │ │ │ [ ] Check for new mail on interactive shells │ │ │ │ [ ] Optimize for size instead of speed │ │ │ │ [ ] Pseudorandom generator and $RANDOM variable │ │ │ │ [ ] Expand prompt string │ │ │ │ [ ] hush │ │ │ │ [ ] lash (deprecated: aliased to hush) │ │ │ │ [ ] msh (deprecated: please use hush) │ │ │ │ [*] POSIX math support │ │ │ │ [ ] Extend POSIX math support to 64 bit │ │ │ │ [*] Hide message on interactive shell startup │ │ │ │ [ ] cttyhack │ │
|