Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Portable shell utilities.

License

NotificationsYou must be signed in to change notification settings

lesiw/buzzybox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

buzzybox is a multicall binary likebusybox that brings a subset of shellutilities to multiple platforms. It can be run as a standalone program(buzzybox) or imported as a library (lesiw.io/buzzybox/hive).

Features

Installation

go install lesiw.io/buzzybox@latest

Usage

Subcommand

echo"hello embedded world"| buzzybox awk'{ print $1, $3 }'

Symlink

ln -s"$(which buzzybox)" awkecho"hello embedded world"| ./awk'{ print $1, $3 }'

Library

package mainimport ("strings""lesiw.io/buzzybox/hive")funcmain() {cmd:=hive.Command("awk","{ print $1, $3 }")cmd.Stdin=strings.NewReader("hello embedded world")cmd.Run()}

▶️ Run this example on the Go Playground

Docker

echo"hello embedded world"| docker run -i lesiw/buzzybox awk'{ print $1, $3 }'

App criteria for inclusion

One of the following:

  1. The app is defined in the POSIX standard.
  2. The app isn’t in POSIX, but is found in multiple *nix environments, likeMacOS, busybox, and at least one major non-busybox Linux distribution. (taris a good example of a non-POSIX utility that is near-ubiquitous.)

And all of the following:

  1. Orthogonal: the appsolves a problem that cannot reasonably be solved by using the existing appsin combination.

Support matrix

AppLinuxWindowsMacOSTinyGo
arch
awk
base64
basename
cat
false
true

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp