Commit: 034764708aed0f03aa11e74e975a823f9644d392
Parent: 7461b3b49ed9e469811c0c271088c1d3cf8ee624
Author: Randy Palamar
Date: Wed, 31 May 2023 11:28:31 -0600
sfeed_dmenu: fix list concatenation
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/sfeed_dmenu b/bin/sfeed_dmenu
@@ -21,7 +21,7 @@ unread()
for arg; do
. $configdir/${arg}.sh
[ -d "$sfeedpath" ] || continue
- list="$(unread "$sfeedpath/*")\n$list"
+ list=$(printf "%s\n" "$(unread "$sfeedpath/*")" "$list")
done
url=$(echo "$list" | grep -v "^$" | dmenu -l 15 | cut -f 3)