[wiki] [sites] sic: add usage page || Alexis Ben Miloud--Josselin

From: <git_AT_suckless.org>
Date: Tue, 26 Mar 2019 22:48:26 +0100

commit 29c41e17d648c075428727f5c272fe14b523f2b3
Author: Alexis Ben Miloud--Josselin <alexis.bmj+suckless_AT_protonmail.com>
Date: Tue Mar 26 22:47:29 2019 +0100

    sic: add usage page

diff --git a/tools.suckless.org/sic/usage/index.md b/tools.suckless.org/sic/usage/index.md
new file mode 100644
index 00000000..b46e63a5
--- /dev/null
+++ b/tools.suckless.org/sic/usage/index.md
_AT_@ -0,0 +1,25 @@
+Usage
+=====
+Since sic uses stdin and stdout as its user interfaces, it is easy to
+combine it with other tools if you need more features. That way sic
+becomes an even better IRC client.
+
+History
+-------
+If you want to store what is being said, you can use the tee(1) command
+with sic:
+
+ # sic | tee -a sic_history
+
+Highlighting
+------------
+If you want to receive an alert in case someone mention your username,
+you can use awk(1):
+
+ # sic | awk '/username/ ~ {printf ""}1'
+
+Using a tool like awk(1) would even allows you to be highlighted on
+specific channels for example. You can of course combine it with the
+tee(1) command above:
+
+ # sic | tee -a sic_history | awk '/username/ ~ {printf ""}1'
Received on Tue Mar 26 2019 - 22:48:26 CET

This archive was generated by hypermail 2.3.0 : Tue Mar 26 2019 - 22:48:30 CET