Improve alignment.

This commit is contained in:
William Melody 2020-06-07 13:57:07 -07:00
parent 051e8b3840
commit 4e9ad74697
1 changed files with 7 additions and 7 deletions

14
hosts
View File

@ -361,15 +361,15 @@ _print_entries() {
if [[ -n "${_parts[2]:-}" ]]
then
printf "%s%s %s\t%s\\n" \
"${_parts[0]}" \
"${_tabs}" \
"${_parts[1]}" \
printf "%s%s %s\t%s\\n" \
"${_parts[0]}" \
"${_tabs}" \
"${_parts[1]}" \
"$(printf "%s" "${_parts[*]:2}" | tr '\r\n' ' ')"
else
printf "%s%s %s\\n" \
"${_parts[0]}" \
"${_tabs}" \
printf "%s%s %s\\n" \
"${_parts[0]}" \
"${_tabs}" \
"${_parts[1]}"
fi