Merge remote-tracking branch 'ni/master'
This commit is contained in:
commit
8e486e8600
@ -25,10 +25,10 @@ pkgs.writeDashBin "irc-announce" ''
|
|||||||
# This is used to see what we send to the irc server. (debug output)
|
# This is used to see what we send to the irc server. (debug output)
|
||||||
echo2() { echo "$*"; echo "$*" >&2; }
|
echo2() { echo "$*"; echo "$*" >&2; }
|
||||||
cat2() {
|
cat2() {
|
||||||
while read -r line; do
|
awk '{
|
||||||
echo "$line"
|
print $0
|
||||||
echo "$line" >&2
|
print $0 > "/dev/stderr"
|
||||||
done
|
}'
|
||||||
}
|
}
|
||||||
|
|
||||||
# privmsg_cat transforms stdin to a privmsg
|
# privmsg_cat transforms stdin to a privmsg
|
||||||
|
Loading…
Reference in New Issue
Block a user