3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-14 07:59:33 +01:00
pbot/applets/excuse.sh
Pragmatic Software 8d5b992b4c Update copyright
2023-02-20 21:31:52 -08:00

11 lines
255 B
Bash
Executable File
Vendored

#!/bin/bash
# SPDX-FileCopyrightText: 2009-2023 Pragmatic Software <pragma78@gmail.com>
# SPDX-License-Identifier: MIT
#host=bofh.jeffballard.us
#port=666
#grep excuse < /dev/tcp/$host/$port | sed 's/Your excuse is: //'
sort -R excuses.txt | head -n 1