dont print names on single entries
This commit is contained in:
@@ -44,6 +44,8 @@ for (( i=1; i<=$#; i++ )); do
|
||||
what+=( "${!i}" )
|
||||
done
|
||||
[[ -z "${what[@]}" ]] && what="."
|
||||
# If only one entry, dont print the name
|
||||
[[ "${#what[@]}" -eq 1 ]] && SUMMARY=1
|
||||
|
||||
if [[ "$SUMMARY" -eq 1 ]]; then
|
||||
# Display one line
|
||||
|
||||
Reference in New Issue
Block a user