samwho/spacer
关于
在命令输出停止时插入分隔符的 CLI 工具
开发工具实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- -1
- 1个月
- -3
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文spacer
spacer is a simple CLI tool to insert spacers when command output stops.
If you're the type of person that habitually presses enter a few times in your log tail to know where the last request ended and the new one begins, this tool is for you!

Installation
With Homebrew:
brew install spacer
Direct from Cargo:
cargo install spacer
Usage
By default, spacer outputs a spacer after 1 second with no output. You can
change this with the --after flag.
tail -f some.log | spacer --after 5
--after accepts a number of seconds, and allows floating point numbers for
extra precision.
STDOUT and STDERR
Some commands output most of their information on STDERR, not STDOUT. spacer
only monitors STDOUT, so if you find a situation where spacer doesn't seem
to be working it could be that the program you're piping from is using STDERR.
To "fix" that, pipe both STDERR to STDOUT to spacer by using |& instead of
| as the pipe characters:
my-command |& spacer
探索相关项目
加载中…