public static String base(String name) {
		int p = name.lastIndexOf('.');
		return p > 0 ? name.substring(0, p) : name;
	}
Returns the name without extension. Will return the name itself if it has no
extension

@param name A file name
@return A name without extension
src/main/java/dev/jbang/util/Util.java