* [COFF] A slack clone in 5 lines of bash
@ 2023-07-01 16:00 Edouard Klein
0 siblings, 0 replies; only message in thread
From: Edouard Klein @ 2023-07-01 16:00 UTC (permalink / raw)
Dear Old Farts,
I've written a chat system that relies at its core on UNIX's permission
All the explanations are here:
I thought it would be of interest to the list as it has one foot in the
past (using system primitives from the 70's for access control) and one
foot in the future: (optionally) using GNU Guix's declarative
configuration to create the necessary users, groups, and files.
I know most of you have used (and some maybe still do) talk et al. This
system is even simpler, just a forever loop:
read -r line || exit 0 # EOF
/usr/bin/echo "$(/usr/bin/date --iso-8601=seconds)"\
"$(printf "%-9s" "$(/usr/bin/id --user --name --real)")" \
"$line" >> /var/lib/suc/"$1"
I'd be happy to hear any comments or to welcome you on the Dam, where we
test this stuff.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-01 16:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-01 16:00 [COFF] A slack clone in 5 lines of bash Edouard Klein
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).