diff options
author | makefu <github@syntax-fehler.de> | 2020-04-21 21:52:12 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-04-21 21:52:12 +0200 |
commit | aaacb5f31c9e87b09f36cfbffcdd8231fb8a4fe8 (patch) | |
tree | 6a358fa5135fd214cc4aa4f43527d60820d4317b /krebs/5pkgs/simple/irc-announce | |
parent | 0b371833e9ef68fd891fac65a657d8e38b5b3fad (diff) | |
parent | 077b2783d19ab0377c1fa8ef6fbfdf5ef7481a7f (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 |