diff options
author | makefu <github@syntax-fehler.de> | 2020-04-22 00:30:37 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-04-22 00:30:37 +0200 |
commit | cb7ea9d84af46b606e5daa1252c60eb210d7e576 (patch) | |
tree | 5166a62dc73c45b3cd3b996078913588d1844266 /krebs/5pkgs/simple/irc-announce | |
parent | 0b371833e9ef68fd891fac65a657d8e38b5b3fad (diff) | |
parent | c49867b40327f83a18b956404875637ca379c1ba (diff) |
Merge remote-tracking branch 'lass/20.03' into 20.03
Diffstat (limited to 'krebs/5pkgs/simple/irc-announce')
-rw-r--r-- | krebs/5pkgs/simple/irc-announce/default.nix | 8 |
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 |