mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 22:51:51 +00:00
![]() Path lists in environmental variables often give special meaning to empty entries (e.g. in PATH or MANPATH). These are represented by leading or trailing colons, or by doubled colons in the middle of the list. Adjust the awk invocation to correctly deal with trailing colons by printing the separator before every field except the first, and then printing the final separator that is read from the input - this will either be a colon or the null string. This preserves leading and trailing colons in all cases while not adding extra colons in the wrong place. Add test to confirm the correct behaviour. Fixes #3144 |
||
---|---|---|
.. | ||
mocks | ||
nvm ls-remote | ||
nvm set_colors | ||
nvm version-remote | ||
nvm_add_iojs_prefix | ||
nvm_alias | ||
nvm_alias LTS-N | ||
nvm_alias_path | ||
nvm_change_path | ||
nvm_check_for_help | ||
nvm_clang_version | ||
nvm_command_info | ||
nvm_compare_checksum | ||
nvm_compute_checksum | ||
nvm_curl_libz_support | ||
nvm_curl_use_compression | ||
nvm_curl_version | ||
nvm_die_on_prefix | ||
nvm_download | ||
nvm_download_artifact | ||
nvm_ensure_default_set | ||
nvm_ensure_version_installed | ||
nvm_ensure_version_prefix | ||
nvm_extract_tarball | ||
nvm_find_project_dir | ||
nvm_find_up | ||
nvm_format_version | ||
nvm_get_arch | ||
nvm_get_artifact_compression | ||
nvm_get_checksum | ||
nvm_get_checksum_alg | ||
nvm_get_checksum_binary | ||
nvm_get_colors | ||
nvm_get_default_packages | ||
nvm_get_download_slug | ||
nvm_get_latest missing curl or wget | ||
nvm_get_minor_version | ||
nvm_get_mirror | ||
nvm_has | ||
nvm_has_non_aliased | ||
nvm_has_solaris_binary | ||
nvm_has_system_iojs | ||
nvm_has_system_node | ||
nvm_install_binary_extract | ||
nvm_install_binary_nosource | ||
nvm_install_latest_npm | ||
nvm_install_no_progress_bar | ||
nvm_iojs_prefix | ||
nvm_iojs_version_has_solaris_binary | ||
nvm_is_alias | ||
nvm_is_iojs_version | ||
nvm_is_merged_node_version | ||
nvm_is_natural_num | ||
nvm_is_valid_version | ||
nvm_is_version_installed | ||
nvm_ls_current | ||
nvm_ls_remote | ||
nvm_ls_remote LTS aliases | ||
nvm_ls_remote nightly | ||
nvm_ls_remote_iojs | ||
nvm_make_alias | ||
nvm_node_prefix | ||
nvm_node_version_has_solaris_binary | ||
nvm_normalize_lts | ||
nvm_num_version_groups | ||
nvm_print_alias_path | ||
nvm_print_color_code | ||
nvm_print_default_alias | ||
nvm_print_implicit_alias errors | ||
nvm_print_implicit_alias success | ||
nvm_print_npm_version | ||
nvm_remote_version | ||
nvm_remote_versions | ||
nvm_stdout_is_terminal | ||
nvm_strip_iojs_prefix | ||
nvm_strip_path | ||
nvm_supports_xz | ||
nvm_tree_contains_path | ||
nvm_use_if_needed | ||
nvm_validate_implicit_alias | ||
nvm_version | ||
nvm_version_dir | ||
nvm_version_greater | ||
nvm_version_path | ||
nvm_wrap_with_color_code |