find_types : fix add newline.
This commit is contained in:
parent
9a7c837395
commit
392da9769f
|
@ -3,4 +3,5 @@ find_types()
|
||||||
{
|
{
|
||||||
local types=($(find -type f | sed "s/.*\.//"))
|
local types=($(find -type f | sed "s/.*\.//"))
|
||||||
echo "${types[@]}" | tr ' ' '\n' | sort -u | tr '\n' ' '
|
echo "${types[@]}" | tr ' ' '\n' | sort -u | tr '\n' ' '
|
||||||
|
echo
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue