commit bd31bc9128641ac9e34ff8d0e38b066de79fab79
Author: Alexis Ben Miloud--Josselin <[email protected]>
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
@@ -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'