Bug 7640

Summary: add some missing POSIX standard commands
Product: Busybox Reporter: eadmaster <mantoxpub>
Component: OtherAssignee: unassigned
Status: NEW ---    
Severity: normal CC: busybox-cvs, mantoxpub, wolf+busybox
Priority: P5    
Version: 1.22.x   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:

Comment 1 wolf+busybox 2020-03-11 12:16:51 UTC
It seems docs/posix_conformance.txt is bit out of date. Update on current state
of busybox:

command:

+   $ ./busybox ash -c 'command -v ls'
/usr/bin/ls

getconf:

+:( $ ./busybox getconf -h
getconf: applet not found

paste:

+   $ ./busybox paste -h
paste: invalid option -- 'h'
BusyBox v1.32.0.git (2020-03-11 13:06:13 CET) multi-call binary.

Usage: paste [OPTIONS] [FILE]...

Paste lines from each input file, separated with tab

        -d LIST Use delimiters from LIST, not tab
        -s      Serial: one file at a time

bc:

+   $ ./busybox bc -h
bc: invalid option -- 'h'
BusyBox v1.32.0.git (2020-03-11 13:06:13 CET) multi-call binary.

Usage: bc [-sqlw] FILE...

Arbitrary precision calculator

        -q      Quiet
        -l      Load standard math library
        -s      Be POSIX compatible
        -w      Warn if extensions are used

$BC_LINE_LENGTH changes output width

at:

+:( $ ./busybox at -h
at: applet not found



getconf and at are missing completely, not sure if the other are POSIX
compliant but at least they are present.