index.md - sites - public wiki contents of suckless.org | |
git clone git://git.suckless.org/sites | |
Log | |
Files | |
Refs | |
--- | |
index.md (677B) | |
--- | |
1 Usage | |
2 ===== | |
3 | |
4 Since sic uses stdin and stdout as its user interfaces, it is easy to co… | |
5 it with other tools if you need more features. | |
6 | |
7 See also the sic(1) man page. | |
8 | |
9 | |
10 History | |
11 ------- | |
12 | |
13 If you want to store what is being said, you can use the tee(1) command … | |
14 sic: | |
15 | |
16 $ sic | tee -a sic_history | |
17 | |
18 | |
19 Highlighting | |
20 ------------ | |
21 If you want to receive an alert in case someone mention your username, y… | |
22 use awk(1): | |
23 | |
24 $ sic | awk '/username/ {printf "\a"}1' | |
25 | |
26 Using a tool like awk(1) would allow you to be highlighted on specific c… | |
27 for example. You can of course combine it with the tee(1) command above: | |
28 | |
29 $ sic | tee -a sic_history | awk '/username/ {printf "\a"}1' |