public static void main(String[] args) {
        assert(normalized_path_names("123/456").equals("123/456"));
        assert(normalized_path_names("/123/456").equals("/123/456"));
        assert(normalized_path_names("usr/lib/../bin/gcc").equals("usr/bin/gcc"));
        assert(normalized_path_names("./../").equals(".."));
        assert(normalized_path_names("../../local").equals("../../local"));
        assert(normalized_path_names("./.././../local").equals("../../local"));
        try {
            normalized_path_names("/..");
        } catch (Exception e) {
            System.out.println(e.getMessage());
        }
        try {
            normalized_path_names("/cpp_name/bin/");
        } catch (Exception e) {
            System.out.println(e.getMessage());
        }
        assert(normalized_path_names("scripts//./../scripts/awkscripts/././")
                .equals("scripts/awkscripts"));
        if (args.length == 1) {
            System.out.println(normalized_path_names(args[0]));
        }
    }