index.md - sites - public wiki contents of suckless.org
 (HTM) git clone git://git.suckless.org/sites
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
       index.md (677B)
       ---
            1 Usage
            2 =====
            3 
            4 Since sic uses stdin and stdout as its user interfaces, it is easy to combine
            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 with
           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, you can
           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 channels
           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'