-n exists for a reason

This commit is contained in:
KlzXS 2021-11-10 21:56:51 +01:00
parent a300e3267f
commit 875a4d8c23
No known key found for this signature in database
GPG key ID: 6F2A29F874A14243

View file

@ -66,7 +66,7 @@ printf "%s" "$arr" | awk '{printf("%'"${width}"'d %s\n", NR, $0)}' > "$dst_file"
items=("~") items=("~")
while IFS='' read -r line; do while IFS='' read -r line; do
if [ ! -z "$NNN_LIST" ]; then if [ -n "$NNN_LIST" ]; then
line=$(readlink "$line" || printf "%s" "$line") line=$(readlink "$line" || printf "%s" "$line")
fi fi