hbbs

bbs.hlirc.net
Log | Files | Refs | README | LICENSE

commit eebae4beb382de631ccea9b8ea8835ee5c5848d8
parent 0e6571ee5ad59b6a395ff3f65f40d1545ef84f1c
Author: hhvn <hayden@haydenvh.com>
Date:   Tue,  2 Feb 2021 17:35:03 +0000

bin/interface.sh: use "-->" as pseudo-subject for replies

Diffstat:
Mbin/interface.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/interface.sh b/bin/interface.sh @@ -201,7 +201,7 @@ menu_read(){ lock $datadir/boards/$board/list awk -v "n=1" -v "file=$(basename "$file")" -v "lnum=$lnum" -v "user=$user" -v "date=$(date +%d-%b-%Y)" -v "ofile=$(echo "$ofile" | sed 's/ .*//')" -F" " ' $6 == ofile && $2 != lnum {print} - $6 == ofile && $2 == lnum {print; print $1 "\t" lnum + 1 "\t" date "\t" user "\t_\t" ofile "\t" file} + $6 == ofile && $2 == lnum {print; print $1 "\t" lnum + 1 "\t" date "\t" user "\t-->\t" ofile "\t" file} $6 != ofile ' < $datadir/boards/$board/list > $datadir/boards/$board/list.new mv $datadir/boards/$board/list.new $datadir/boards/$board/list