2024-12-21 06:27:00
github.com
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!
With Homebrew:
Direct from Cargo:
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.
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:
Keep your files stored safely and securely with the SanDisk 2TB Extreme Portable SSD. With over 69,505 ratings and an impressive 4.6 out of 5 stars, this product has been purchased over 8K+ times in the past month. At only $129.99, this Amazon’s Choice product is a must-have for secure file storage.
Help keep private content private with the included password protection featuring 256-bit AES hardware encryption. Order now for just $129.99 on Amazon!
Support Techcratic
If you find value in Techcratic’s insights and articles, consider supporting us with Bitcoin. Your support helps me, as a solo operator, continue delivering high-quality content while managing all the technical aspects, from server maintenance to blog writing, future updates, and improvements. Support Innovation! Thank you.
Bitcoin Address:
bc1qlszw7elx2qahjwvaryh0tkgg8y68enw30gpvge
Please verify this address before sending funds.
Bitcoin QR Code
Simply scan the QR code below to support Techcratic.
Please read the Privacy and Security Disclaimer on how Techcratic handles your support.
Disclaimer: As an Amazon Associate, Techcratic may earn from qualifying purchases.