blob: 26175b3e6de45f350d31f428226af162acabdce2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
.TH BNU "1" "2026-07-28" "BNU 9.11" "BNU Commands"
.SH NAME
bnu \- run a BNU core utility
.SH SYNOPSIS
.B bnu
\fI\,COMMAND \/\fR[\fI\,ARG\fR]...
.br
.B bnu
[\fB\-\-help\fR|\fB\-\-version\fR]
.SH DESCRIPTION
BNU is an independent implementation of the GNU Coreutils 9.11
command\-line interface for the Bun runtime.
.PP
Each utility has an independently runnable entry under
.IR src/commands/ .
The
.B bnu
launcher is retained as a compatibility and discovery surface: its first
operand selects a utility, which is loaded on demand, and the remaining
operands are passed to that utility. Run
.B bnu \-\-help
to list the implemented commands, or run
.I COMMAND
.B \-\-help
to see command-specific help.
.PP
Command-name wrappers that invoke the single-call entries directly can be
generated with:
.PP
.RS
bun run link\-commands \-\- DIRECTORY
.RE
.PP
For compatibility with the GNU Coreutils multi-call interface, the
.B coreutils
command accepts
.BR \-\-coreutils\-prog= PROGRAM_NAME .
.SH OPTIONS
.TP
.B \-\-help
display the usage and implemented command list, then exit
.TP
.B \-\-version
output BNU version information, then exit
.SH ENVIRONMENT
.TP
.B GNULY_CORRECT
When set to a truthy value such as
.BR 1 ,
emit GNU-compatible diagnostics without BNU's additional
.B Hint:
lines. An empty value,
.BR 0 ,
or any capitalization of
.B false
leaves friendly hints enabled. This changes diagnostic wording, not command
semantics.
.SH FILES
.TP
.I bin/bnu.js
compatibility multi-call launcher in a source checkout
.TP
.I src/commands/*.js
independently runnable command entries
.TP
.I src/shared/catalog.js
command inventory and lazy module loader
.TP
.I src/shared/command.js
shared single-call entry behavior
.TP
.I src/shared/runtime.js
compatibility multi-call dispatch
.SH "REPORTING BUGS"
Report BNU bugs at <https://github.com/Soccera1/bnu/issues>.
.SH COPYRIGHT
BNU is distributed under the GNU General Public License version 3. See the
.I LICENSE
file in the source distribution.
.SH "SEE ALSO"
.BR coreutils (1)
.PP
The complete adapted manual is available locally via: info \(aqbnu\(aq
|