1 2 3 4
#!/bin/bash # Prefix each line of input with the current time # BUUS: This script is part of Brian's Useful Utilities Set perl -ne 'BEGIN{use POSIX "strftime";$|=1} print strftime("%T",localtime), " $_"'