Merge branch 'master' of gitea.nerdland.org:adam/cshenv into master

* 'master' of gitea.nerdland.org:adam/cshenv:
  Fix substitution on older TCSH.
This commit is contained in:
2026-07-30 02:35:37 -04:00
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ foreach color ( ${cshenv_ls_colors} )
#_debug "Split: ${split}" #_debug "Split: ${split}"
#_debug "First: ${split[1]}" #_debug "First: ${split[1]}"
_debug "Match: ${match}" _debug "Match: ${match}"
_debug "Match: ${match:as/./*./}" _debug "Match: ${match:as/./*----------/:as/----------/./}"
_debug "Args: ${args}" _debug "Args: ${args}"
_debug "${args:as/,/ /}" _debug "${args:as/,/ /}"
if ( $?CSHENV_DEBUG ) then if ( $?CSHENV_DEBUG ) then
+2 -2
View File
@@ -145,8 +145,8 @@ set referencechars_raw="${referencechars_raw} 2620"
_debug "Building unicode sigils table...." _debug "Building unicode sigils table...."
if( ! $?CSHENV_NO_UNICODE_PRINTF ) then if( ! $?CSHENV_NO_UNICODE_PRINTF ) then
_debug "${referencechars_raw:as/ / 0000/:as/ 00001/ 0001/:as/ / \U/}" _debug "${referencechars_raw:as/ /_\U0000/:as/_/ /:as/ 00001/ 0001/}"
set referencechars_original=( `printf "${referencechars_raw:as/ / 0000/:as/ 00001/ 0001/:as/ / \\U/}"` ) set referencechars_original=( `printf "${referencechars_raw:as/ /_\U0000/:as/_/ /:as/ 00001/ 0001/}"` )
else else
# Safe fallback for when there's no unicode printf # Safe fallback for when there's no unicode printf
set referencechars_original="A B C D X Y Z" set referencechars_original="A B C D X Y Z"