Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sigill/stout
Small utility to write to stdout and have a status line.
https://github.com/sigill/stout
Last synced: 1 day ago
JSON representation
Small utility to write to stdout and have a status line.
- Host: GitHub
- URL: https://github.com/sigill/stout
- Owner: Sigill
- License: mit
- Created: 2015-07-26T17:39:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-26T17:55:13.000Z (over 9 years ago)
- Last Synced: 2024-11-16T00:44:27.917Z (2 months ago)
- Language: Perl
- Size: 113 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Stout
`stout` is a small utility written in perl that allow a program to write to stdout while having a permanent status line at the bottom.
Very useful when you have a script chaining several programs that writes a lot of things to stdout and you want to keep track of what is currently executing.
## Usage
```
Usage: some_command_that_writes_to_stdout | stout
```## Example
```
$ ping localhost | stout "Pinging localhost"
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.052 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.070 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.070 ms
...
[more lines will be written here]
...
Pinging localhost
```## License
This script is released under the terms of the MIT License. See the LICENSE.txt file for more details.