Russell Coker wrote:
> busybox | tail -19 | tr , \\\\n | sed -e "s/ \|\t//"|grep .|grep -v busybox
My version:
TAB=" "
busybox --help | grep -A 100 'Currently defined functions' | \
tail -n +2 | grep "^$TAB" | sed 's/,/ /g'
> Currently to get a list of the supported commands in busybox I need to use
> the above shell code. This is ugly and will cause problems if the number of
> lines required changes.
>
> What we need is a --list command-line option that will display all supported
> options one per line to stdout without any additional commentary.
Seconded.
--
see shy jo
Attachment:
signature.asc
Description: Digital signature