Hooray For Pipes

Sometimes UNIX "just works":

ls | cut -f 1 -d . | paste -s -d " " --