sponge-go

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2025 License: MIT

README

sponge-go

Pure Go implementation of sponge(1) in moreutils.

[!WARNING] The buffer size and signal handling are roughly implemented. However, In most cases you don't need to worry.

Usage

sponge [-a] <file>: soak up all input from stdin and write it to <file>
sed '...' file | grep '...' | sponge [-a] file

References

Directories

Path Synopsis
cmd
sponge command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL