💾 Archived View for rawtext.club › ~zilog › gabbr.txt captured on 2023-12-28 at 16:50:33.
⬅️ Previous capture (2023-03-20)
-=-=-=-=-=-=-
#!/bin/sh # ------------------------------------------------------------- # gabbr -- a RawText.club gab(1) client # ------------------------------------------------------------- # $Log: gabbr,v $ # Revision 2.1 2021/05/01 19:49:27 zilog # nGabbr becomes gabbr-2.x # # get/set RCS ID & Gabbr version: RCS_ID="$Id: gabbr,v 2.1 2021/05/01 19:49:27 zilog Exp $" GBR_VER="$(echo "$RCS_ID" |cut -d' ' -f3)" # set initial # of messages to display: MAXMSGS=5 # set formater for channel listings: FORMAT='pr -t -o3 --columns=4' # set PAGER: if [ -x $(which less) ] then PAGER='less -ReX' else PAGER='more' fi ## misc. functions: clr_scrn() { clear echo '' echo '=============================================================================' } gab_head() { gab -c |head -3 |grep -v '^