summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-03-23 10:16:42 +0100
committerlassulus <lassulus@lassul.us>2020-03-23 10:16:42 +0100
commit8e486e860047a85717d5a553477845742018b480 (patch)
treefb9784d5cb2d0aa1e910a74e7c6de54da18f6e6c
parent8c27f12f86096f06e56333125eb6c713aece34ed (diff)
parent1e915baafbc56c4c626a3c3d042ac0e7d6276561 (diff)
Merge remote-tracking branch 'ni/master'
-rw-r--r--krebs/5pkgs/simple/irc-announce/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/krebs/5pkgs/simple/irc-announce/default.nix b/krebs/5pkgs/simple/irc-announce/default.nix
index a90814aa9..52cf12862 100644
--- a/krebs/5pkgs/simple/irc-announce/default.nix
+++ b/krebs/5pkgs/simple/irc-announce/default.nix
@@ -25,10 +25,10 @@ pkgs.writeDashBin "irc-announce" ''
# This is used to see what we send to the irc server. (debug output)
echo2() { echo "$*"; echo "$*" >&2; }
cat2() {
- while read -r line; do
- echo "$line"
- echo "$line" >&2
- done
+ awk '{
+ print $0
+ print $0 > "/dev/stderr"
+ }'
}
# privmsg_cat transforms stdin to a privmsg