Introduction
Introduction Statistics Contact Development Disclaimer Help
Remove trailing \r from all lines, add annnarevoir. - annna - Annna the nice fr…
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 2d66a893bb482bc6abf3135be639eb5d23366358
parent 86ed7ccd5559dd7814aa60659031f03ce9d198cd
Author: Annna Robert-Houdin <[email protected]>
Date: Tue, 14 Oct 2025 21:19:37 +0200
Remove trailing \r from all lines, add annnarevoir.
Diffstat:
M annna-start-server | 5 +++--
A annnarevoir | 4 ++++
2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/annna-start-server b/annna-start-server
@@ -16,6 +16,8 @@ do
| while read -r servermsg;
do
annna-alive || exit 1
+ servermsg="$(printf "%s\n" "${servermsg}" | sed -e 's,\r$,,')"
+
export IRC_PASS=
export IRC_CMD_USER="$(printf "%s\n" "${servermsg}" \
| cut -d' ' -f 2 \
@@ -45,8 +47,7 @@ do
| cut -d' ' -f 4)"
export IRC_PRIVMSG_TEXT="$(printf "%s\n" "${servermsg}" \
| cut -d' ' -f 5- \
- | cut -d':' -f 2- \
- | sed -e 's,\r$,,')"
+ | cut -d':' -f 2-)"
annna-channel-message
;;
esac
diff --git a/annnarevoir b/annnarevoir
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Modify to you needs for convenience.
+/home/annna/bin/annna-stop $HOME/annna
+
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.