From 0fec7a8a563034c145624fb8c82dc6ce135d59a0 Mon Sep 17 00:00:00 2001 From: katherine Date: Mon, 1 Feb 2016 23:46:42 -0700 Subject: was a buffering issue s'nice to know this sort of thing --- .config/herbstluftwm/panel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/herbstluftwm') diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh index 66ecdde..6afe2cb 100755 --- a/.config/herbstluftwm/panel.sh +++ b/.config/herbstluftwm/panel.sh @@ -115,7 +115,7 @@ fields[6]="" fields[7]="$(update_date)" unique_line() { - awk '$0 != l { print ; l=$0 ; fflush(); }' + stdbuf -i0 -o0 uniq } ###################### -- cgit v1.2.3