This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ############################################################################## | |
| # Logs messages with a configurable logging level and format, accepting input | |
| # from either stdin (such as a pipe) or as arguments | |
| # | |
| # Author: Stephen Roberts <[email protected]> | |
| # | |
| # Globals: | |
| # LOGLEVEL - arbitrary integer for desired log output level (default: 0) | |
| # | |
| # Arguments: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # Time a command with a timeout | |
| # | |
| # Author: Stephen Roberts <[email protected]> | |
| # Version: 1 | |
| # | |
| # Usage: twto [OPTIONS] TIMEOUT COMMAND | |
| # |