sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit afdf7e6a5c3df6e6c060a17d01abacac7950c591
parent 29c41e17d648c075428727f5c272fe14b523f2b3
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Wed, 27 Mar 2019 18:29:59 +0100

sic usage, minor tweaks

Diffstat:
Mtools.suckless.org/sic/usage/index.md | 30+++++++++++++++++-------------
1 file changed, 17 insertions(+), 13 deletions(-)

diff --git a/tools.suckless.org/sic/usage/index.md b/tools.suckless.org/sic/usage/index.md @@ -1,25 +1,29 @@ 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. + +Since sic uses stdin and stdout as its user interfaces, it is easy to combine +it with other tools if you need more features. + +See also the sic(1) man page. + History ------- -If you want to store what is being said, you can use the tee(1) command -with sic: - # sic | tee -a sic_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): +If you want to receive an alert in case someone mention your username, you can +use awk(1): - # sic | awk '/username/ ~ {printf "\a"}1' + $ sic | awk '/username/ ~ {printf "\a"}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: +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 "\a"}1' + $ sic | tee -a sic_history | awk '/username/ ~ {printf "\a"}1'