Directories
¶
| Path | Synopsis |
|---|---|
|
applets
|
|
|
awk
Package awk implements the `awk` applet by embedding benhoyt/goawk.
|
Package awk implements the `awk` applet by embedding benhoyt/goawk. |
|
base64
Package base64 implements the `base64` applet: encode/decode RFC 4648.
|
Package base64 implements the `base64` applet: encode/decode RFC 4648. |
|
basename
Package basename implements the `basename` applet: strip directory and suffix.
|
Package basename implements the `basename` applet: strip directory and suffix. |
|
cat
Package cat implements the `cat` applet: concatenate files to stdout.
|
Package cat implements the `cat` applet: concatenate files to stdout. |
|
chmod
Package chmod implements the `chmod` applet: change file permission bits.
|
Package chmod implements the `chmod` applet: change file permission bits. |
|
chown
Package chown implements the `chown` applet: change file ownership.
|
Package chown implements the `chown` applet: change file ownership. |
|
column
Package column implements a minimal `column` applet: format input into columns.
|
Package column implements a minimal `column` applet: format input into columns. |
|
comm
Package comm implements the `comm` applet: compare two sorted files.
|
Package comm implements the `comm` applet: compare two sorted files. |
|
cp
Package cp implements the `cp` applet: copy files and directories.
|
Package cp implements the `cp` applet: copy files and directories. |
|
curl
Package curl implements a minimal `curl` applet (also registered as `wget`) for HTTP(S) GETs.
|
Package curl implements a minimal `curl` applet (also registered as `wget`) for HTTP(S) GETs. |
|
cut
Package cut implements the `cut` applet: extract sections from each line.
|
Package cut implements the `cut` applet: extract sections from each line. |
|
date
Package date implements the `date` applet: print or format the current time.
|
Package date implements the `date` applet: print or format the current time. |
|
df
Package df implements a minimal `df` applet: report filesystem usage.
|
Package df implements a minimal `df` applet: report filesystem usage. |
|
dirname
Package dirname implements the `dirname` applet: strip last component.
|
Package dirname implements the `dirname` applet: strip last component. |
|
du
Package du implements the `du` applet: estimate file space usage.
|
Package du implements the `du` applet: estimate file space usage. |
|
echo
Package echo implements the `echo` applet: write arguments to stdout.
|
Package echo implements the `echo` applet: write arguments to stdout. |
|
env
Package env implements the `env` applet: print or modify the environment.
|
Package env implements the `env` applet: print or modify the environment. |
|
expand
Package expand implements the `expand` applet: convert tabs in each FILE to the proper number of spaces.
|
Package expand implements the `expand` applet: convert tabs in each FILE to the proper number of spaces. |
|
expr
Package expr implements the `expr` applet: evaluate arithmetic and string expressions.
|
Package expr implements the `expr` applet: evaluate arithmetic and string expressions. |
|
factor
Package factor implements the `factor` applet: factor integers.
|
Package factor implements the `factor` applet: factor integers. |
|
false
Package falsecmd implements the `false` applet: do nothing, exit 1.
|
Package falsecmd implements the `false` applet: do nothing, exit 1. |
|
file
Package file implements a minimal `file` applet: detect file types by examining magic bytes and content.
|
Package file implements a minimal `file` applet: detect file types by examining magic bytes and content. |
|
find
Package find implements a minimal `find` applet: walk a directory tree and print or filter entries by name, type, and depth.
|
Package find implements a minimal `find` applet: walk a directory tree and print or filter entries by name, type, and depth. |
|
fold
Package fold implements the `fold` applet: wrap each line to width.
|
Package fold implements the `fold` applet: wrap each line to width. |
|
grep
Package grep implements the `grep` applet: search files for patterns.
|
Package grep implements the `grep` applet: search files for patterns. |
|
gzip
Package gzip implements the `gzip` and `gunzip` applets.
|
Package gzip implements the `gzip` and `gunzip` applets. |
|
head
Package head implements the `head` applet: output the first part of files.
|
Package head implements the `head` applet: output the first part of files. |
|
host
Package host implements a minimal `host` applet: DNS lookups via the system resolver.
|
Package host implements a minimal `host` applet: DNS lookups via the system resolver. |
|
hostname
Package hostname implements the `hostname` applet.
|
Package hostname implements the `hostname` applet. |
|
id
Package id implements the `id` applet.
|
Package id implements the `id` applet. |
|
join
Package join implements a simplified `join` applet: relational join of two files on a key field.
|
Package join implements a simplified `join` applet: relational join of two files on a key field. |
|
jq
Package jq implements the `jq` applet by embedding itchyny/gojq.
|
Package jq implements the `jq` applet by embedding itchyny/gojq. |
|
ln
Package ln implements the `ln` applet: create file links.
|
Package ln implements the `ln` applet: create file links. |
|
ls
Package ls implements a minimal `ls` applet.
|
Package ls implements a minimal `ls` applet. |
|
md5sum
Package md5sum implements the `md5sum` applet.
|
Package md5sum implements the `md5sum` applet. |
|
mkdir
Package mkdir implements the `mkdir` applet: make directories.
|
Package mkdir implements the `mkdir` applet: make directories. |
|
mktemp
Package mktemp implements the `mktemp` applet: create a unique temporary file or directory and print its path.
|
Package mktemp implements the `mktemp` applet: create a unique temporary file or directory and print its path. |
|
mv
Package mv implements the `mv` applet: move (rename) files.
|
Package mv implements the `mv` applet: move (rename) files. |
|
nl
Package nl implements a simplified `nl` applet: number lines.
|
Package nl implements a simplified `nl` applet: number lines. |
|
nproc
Package nproc implements the `nproc` applet: print the number of processing units available to the current process.
|
Package nproc implements the `nproc` applet: print the number of processing units available to the current process. |
|
paste
Package paste implements the `paste` applet: merge lines of files.
|
Package paste implements the `paste` applet: merge lines of files. |
|
ping
Package ping implements a `ping`-like applet using TCP probes.
|
Package ping implements a `ping`-like applet using TCP probes. |
|
printf
Package printf implements the `printf` applet: formatted output.
|
Package printf implements the `printf` applet: formatted output. |
|
pwd
Package pwd implements the `pwd` applet: print the working directory.
|
Package pwd implements the `pwd` applet: print the working directory. |
|
readlink
Package readlink implements the `readlink` applet.
|
Package readlink implements the `readlink` applet. |
|
realpath
Package realpath implements the `realpath` applet: print the resolved (absolute, symlink-free) path of each operand.
|
Package realpath implements the `realpath` applet: print the resolved (absolute, symlink-free) path of each operand. |
|
rev
Package rev implements the `rev` applet: reverse characters on each line.
|
Package rev implements the `rev` applet: reverse characters on each line. |
|
rm
Package rm implements the `rm` applet: remove files and directories.
|
Package rm implements the `rm` applet: remove files and directories. |
|
rmdir
Package rmdir implements the `rmdir` applet: remove empty directories.
|
Package rmdir implements the `rmdir` applet: remove empty directories. |
|
sed
Package sed implements a useful subset of `sed`: addresses, ranges, multi-command scripts, and the s/d/p/q commands.
|
Package sed implements a useful subset of `sed`: addresses, ranges, multi-command scripts, and the s/d/p/q commands. |
|
seq
Package seq implements the `seq` applet: print numeric sequences.
|
Package seq implements the `seq` applet: print numeric sequences. |
|
sha256sum
Package sha256sum implements the `sha256sum` applet.
|
Package sha256sum implements the `sha256sum` applet. |
|
sha512sum
Package sha512sum implements the `sha512sum` applet.
|
Package sha512sum implements the `sha512sum` applet. |
|
shuf
Package shuf implements the `shuf` applet: shuffle lines.
|
Package shuf implements the `shuf` applet: shuffle lines. |
|
sleep
Package sleep implements the `sleep` applet: pause for a duration.
|
Package sleep implements the `sleep` applet: pause for a duration. |
|
sort
Package sort implements the `sort` applet: sort lines of files.
|
Package sort implements the `sort` applet: sort lines of files. |
|
split
Package split implements a minimal `split` applet: split a file by lines.
|
Package split implements a minimal `split` applet: split a file by lines. |
|
stat
Package stat implements a minimal `stat` applet.
|
Package stat implements a minimal `stat` applet. |
|
sum
Package sum implements the legacy `sum` applet (BSD checksum).
|
Package sum implements the legacy `sum` applet (BSD checksum). |
|
tac
Package tac implements the `tac` applet: print files in reverse line order.
|
Package tac implements the `tac` applet: print files in reverse line order. |
|
tail
Package tail implements the `tail` applet: output the last part of files.
|
Package tail implements the `tail` applet: output the last part of files. |
|
tar
Package tar implements a minimal `tar` applet: create, extract, list.
|
Package tar implements a minimal `tar` applet: create, extract, list. |
|
tee
Package tee implements the `tee` applet: copy stdin to stdout and files.
|
Package tee implements the `tee` applet: copy stdin to stdout and files. |
|
test
Package test implements the `test` applet (and its `[` alias): the POSIX conditional-expression evaluator.
|
Package test implements the `test` applet (and its `[` alias): the POSIX conditional-expression evaluator. |
|
time
Package time implements the `time` applet: run a command and report how long it took.
|
Package time implements the `time` applet: run a command and report how long it took. |
|
timeout
Package timeout implements the `timeout` applet: run a command with a wall-clock deadline.
|
Package timeout implements the `timeout` applet: run a command with a wall-clock deadline. |
|
touch
Package touch implements the `touch` applet: change file timestamps.
|
Package touch implements the `touch` applet: change file timestamps. |
|
tr
Package tr implements the `tr` applet: translate, delete, or squeeze characters.
|
Package tr implements the `tr` applet: translate, delete, or squeeze characters. |
|
true
Package truecmd implements the `true` applet: do nothing, exit 0.
|
Package truecmd implements the `true` applet: do nothing, exit 0. |
|
truncate
Package truncate implements the `truncate` applet: shrink or extend a file to a specified size.
|
Package truncate implements the `truncate` applet: shrink or extend a file to a specified size. |
|
tsort
Package tsort implements the `tsort` applet: topological sort.
|
Package tsort implements the `tsort` applet: topological sort. |
|
uname
Package uname implements the `uname` applet: print system information.
|
Package uname implements the `uname` applet: print system information. |
|
unexpand
Package unexpand implements the `unexpand` applet: convert leading (or all) blank runs to tabs.
|
Package unexpand implements the `unexpand` applet: convert leading (or all) blank runs to tabs. |
|
uniq
Package uniq implements the `uniq` applet: filter adjacent duplicate lines.
|
Package uniq implements the `uniq` applet: filter adjacent duplicate lines. |
|
unlink
Package unlink implements the `unlink` applet: remove a single file via the unlink(2) system call.
|
Package unlink implements the `unlink` applet: remove a single file via the unlink(2) system call. |
|
wc
Package wc implements the `wc` applet: count lines, words, bytes, chars.
|
Package wc implements the `wc` applet: count lines, words, bytes, chars. |
|
which
Package which implements the `which` applet: locate a command in PATH.
|
Package which implements the `which` applet: locate a command in PATH. |
|
whoami
Package whoami implements the `whoami` applet.
|
Package whoami implements the `whoami` applet. |
|
xargs
Package xargs implements the `xargs` applet: build and execute commands from standard input.
|
Package xargs implements the `xargs` applet: build and execute commands from standard input. |
|
xxd
Package xxd implements the `xxd` applet: hex-dump or hex-revert.
|
Package xxd implements the `xxd` applet: hex-dump or hex-revert. |
|
yes
Package yes implements the `yes` applet: print a string repeatedly.
|
Package yes implements the `yes` applet: print a string repeatedly. |
|
zip
Package zip implements `zip` and `unzip` applets via archive/zip.
|
Package zip implements `zip` and `unzip` applets via archive/zip. |
|
cmd
|
|
|
gendocs
command
Command gendocs writes shell completions and man pages for every registered applet to an output directory.
|
Command gendocs writes shell completions and man pages for every registered applet to an output directory. |
|
topsail
command
Command topsail is the multi-call BusyBox-like binary entry point.
|
Command topsail is the multi-call BusyBox-like binary entry point. |
|
internal
|
|
|
applet
Package applet defines the contract every topsail applet implements and the registry used by the dispatcher to look them up by name or alias.
|
Package applet defines the contract every topsail applet implements and the registry used by the dispatcher to look them up by name or alias. |
|
applets
Package applets imports every applet package for side effects, so a binary that needs the full registry only needs to import this package instead of duplicating the per-package import list.
|
Package applets imports every applet package for side effects, so a binary that needs the full registry only needs to import this package instead of duplicating the per-package import list. |
|
cli
Package cli implements the multi-call dispatcher: argv[0] basename resolution, the topsail wrapper command, and global flags (--help, --version, --list).
|
Package cli implements the multi-call dispatcher: argv[0] basename resolution, the topsail wrapper command, and global flags (--help, --version, --list). |
|
filemode
Package filemode parses file mode strings — both octal (e.g.
|
Package filemode parses file mode strings — both octal (e.g. |
|
hashing
Package hashing provides shared logic for the md5sum / sha256sum / sha512sum applets.
|
Package hashing provides shared logic for the md5sum / sha256sum / sha512sum applets. |
|
ioutil
Package ioutil provides binary-safe, mockable wrappers around the process standard streams.
|
Package ioutil provides binary-safe, mockable wrappers around the process standard streams. |
|
platform
Package platform centralizes OS-specific behavior so applets stay portable.
|
Package platform centralizes OS-specific behavior so applets stay portable. |
|
testutil
Package testutil provides shared test helpers for topsail.
|
Package testutil provides shared test helpers for topsail. |
Click to show internal directories.
Click to hide internal directories.