macOS
brew install emptylocal Homebrew formula metadata
brew
Lightweight Expect-like PTY tool for shell scripts. Version 0.6.23d via Homebrew; verified from local package data.
install
brew install emptylocal Homebrew formula metadata
nix profile install nixpkgs#emptynixpkgs package indexes · pkgs/by-name/em/empty/package.nix · source: api.github.com
overview
Lightweight Expect-like PTY tool for shell scripts
history
`empty` is a lightweight Unix PTY automation tool meant to let shell scripts drive interactive programs without pulling in Tcl/Expect, Perl, Python, or a larger scripting runtime.
The official site says `empty` was written by Mikhail E. Zakharov, based on the idea of Daniel J. Bernstein's pty-4.0 but without porting pty-4.0 code. Its copyright notice spans 2005 to 2020.
The project page lists successful compilation and testing on a broad set of Unix-like systems, including BSDs, macOS, Linux, Solaris, AIX, HP-UX, OSF1, and Cygwin. That portability is the main adoption story rather than a large ecosystem.
`empty` runs a process under a pseudo-terminal and then sends or waits for text through named input and output files. The homepage compares a short telnet login sequence against Tcl/Expect, Perl Expect, and Python Pexpect examples.
The package is interesting because it keeps the old Unix promise small: PTY scripting from plain shell, entirely in C, with minimal dependencies. It is the sort of utility that survives in package managers because it solves one awkward automation job without dragging in a language stack.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
empty | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://empty.sourceforge.net/
install metadata
| Package key | brew:empty |
|---|---|
| Version | 0.6.23d |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/empty |
| Homepage | https://empty.sourceforge.net/ |
| Repository | https://sourceforge.net/p/empty/code |
| Upstream docs | https://empty.sourceforge.net/ |
| License | BSD-3-Clause |
| Source archive | https://downloads.sourceforge.net/project/empty/empty/empty-0.6.23d/empty-0.6.23d.tgz |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | empty |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
empty
nix profile install nixpkgs#emptysource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.