find_types : fix add newline.

This commit is contained in:
Dmitry Voronin 2023-11-25 23:14:32 +03:00
parent 9a7c837395
commit 392da9769f

View file

@ -3,4 +3,5 @@ find_types()
{
local types=($(find -type f | sed "s/.*\.//"))
echo "${types[@]}" | tr ' ' '\n' | sort -u | tr '\n' ' '
echo
}