I have a shell script that needs to take an .so and get all its prefixes, where a prefix is the part of the name, up until the ".so" part + t
.so
".so"