in reply to Getting a base name

The delimiter for split is being parsed locally as a regular expression wildcard which is not very useful in this context. Either escaping it with backslash /\./ or enclosing in single quotes '.' will do the trick, although the latter will be more difficult in this case given that the whole program is also enclosed in single quotes.

One world, one people