[wiki] [sites] [sic] fix awk commands in usage page || Alexis Ben Miloud--Josselin
commit bd31bc9128641ac9e34ff8d0e38b066de79fab79
Author: Alexis Ben Miloud--Josselin <alexis.bmj+git_AT_protonmail.com>
Date: Mon Apr 29 22:48:43 2019 +0200
[sic] fix awk commands in usage page
diff --git a/tools.suckless.org/sic/usage/index.md b/tools.suckless.org/sic/usage/index.md
index 1f7192cd..7051c72f 100644
--- a/tools.suckless.org/sic/usage/index.md
+++ b/tools.suckless.org/sic/usage/index.md
_AT_@ -21,9 +21,9 @@ Highlighting
If you want to receive an alert in case someone mention your username, you can
use awk(1):
- $ sic | awk '/username/ ~ {printf ""}1'
+ $ sic | awk '/username/ {printf ""}1'
Using a tool like awk(1) would allow 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'
+ $ sic | tee -a sic_history | awk '/username/ {printf ""}1'
Received on Mon Apr 29 2019 - 22:48:58 CEST
This archive was generated by hypermail 2.3.0
: Mon Apr 29 2019 - 23:00:27 CEST