Searched refs:subscript (Results 1 - 7 of 7) sorted by relevance
/ast/src/lib/libtksh/lib/tksh7.6/ |
H A D | init.ksh | 5 [[ ${.sh.subscript} == "" ]] && return 6 nameref v=${.sh.subscript} 7 env[${.sh.subscript}]="$v" 12 [[ ${.sh.subscript} == "" ]] && return 13 nameref v=${.sh.subscript} 19 [[ ${.sh.subscript} == "" ]] && return 20 nameref v=${.sh.subscript}
|
/ast/src/cmd/ksh93/data/ |
H A D | bash_pre_rc.sh | 85 index=_push_max-.sh.subscript
|
/ast/src/cmd/ksh93/tests/ |
H A D | arrays.sh | 279 foo[$((10))]=ok 2> /dev/null || err_exit 'arithmetic expression as subscript not working' 290 then err_exit 'error in subscript names' 385 (( bar == 4 )) || err_exit "subscript of unset variable not evaluated -- expected '4', got '$got'" 388 (( bar == $exp )) || err_exit "subscript of unset variable not evaluated -- expected '$exp', got '$got'" 396 [[ ${bar[${foo[5]}]} == 3 ]] || err_exit 'array subscript cannot be an array instance' 427 [[ $bar == 2 ]] || err_exit 'subscript not evaluated for unset variable' 485 print sub=${.sh.subscript} 495 print sub=${.sh.subscript}
|
H A D | variables.sh | 556 case ${.sh.subscript} in 584 typeset sub=${.sh.subscript}
|
H A D | types.sh | 384 [[ ${.sh.subscript} == 4 ]] || err_exit "subscript=${.sh.subscript} should be 4"
|
/ast/src/cmd/ksh93/sh/ |
H A D | lex.c | 1135 /* quotes in subscript need expansion */ 1201 /* check for possible subscript */ 1211 errormsg(SH_DICT,ERROR_exit(SYNBAD),e_lexsyntax1, shp->inlineno, "[]", "empty subscript");
|
H A D | xec.c | 498 int sh_debug(Shell_t *shp, const char *trap, const char *name, const char *subscript, char *const argv[], int flags) argument 514 if(subscript) 517 out_string(iop,subscript,']',1); 668 * set ${.sh.name} and ${.sh.subscript} 669 * set _ to reference for ${.sh.name}[$.sh.subscript] 3534 * If <nq> is not-null, then sh.name and sh.subscript will be set
|
Completed in 37 milliseconds