BSD Ports

sysutils/bkt 0.8.2 NetBSD

Subprocess caching utility

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
sysutils
Package size
463.5 KiB, 1489.6 KiB installed

Description

bkt (pronounced bucket) is a subprocess caching utility written in Rust, inspired by bash-cache. Wrapping expensive process invocations with bkt allows callers to reuse recent invocations without complicating their application logic. This can be useful in shell prompts, interactive applications such as fzf, and long-running programs that poll other processes.

When bkt is passed a command it hasn't seen before (or recently) it executes the command synchronously and caches its stdout, stderr, and exit code. Calling bkt again with the same command reads the data from the cache and outputs it as if the command had been run again.

In the other systems

SystemPortVersion
NetBSDsysutils/bkt0.8.2
FreeBSDsysutils/bkt0.8.2_19
DragonFlysysutils/bkt0.8.2_4
HardenedBSDsysutils/bkt0.8.2_17
GhostBSDsysutils/bkt0.8.2_17

Install

Binary package:

pkgin install bkt

From pkgsrc:

cd /usr/pkgsrc/sysutils/bkt && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.8.2
NetBSD 10.1 aarch640.8.2
SmartOS / illumos x86_640.8.2
macOS 15 arm640.8.2

Dependencies

No port depends on this one.