diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-01-23 18:00:32 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-01-23 18:01:59 -0700 |
commit | 2904a2338a3400ce245f45e25fc57a13856f3b3e (patch) | |
tree | 6e7dfb79d7e232e4f9dbf82c525001b5430f8a19 /bin | |
parent | dd30679a5e192b9642dab6f85a6ebb6d84e2f9d5 (diff) | |
download | dotfiles-2904a2338a3400ce245f45e25fc57a13856f3b3e.tar.gz |
send-irssi-away-log: make output easier to read
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/send-irssi-away-log | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/send-irssi-away-log b/bin/send-irssi-away-log index dfa22611..768c5849 100755 --- a/bin/send-irssi-away-log +++ b/bin/send-irssi-away-log @@ -21,7 +21,8 @@ while (<$fh>) { $. > $pos or next; chomp; s{./?}{}g; - /^[0-9]{2}:[0-9]{2}:[0-9]{2}/ and push @lines, wrap "", "", $_; + /^[0-9]{2}:[0-9]{2}:[0-9]{2}\S+ \S+> / + and push @lines, wrap $&, " " x length $&, $'; } exit unless @lines; |