hok1man
Technical User
- Feb 16, 2008
- 102
can someone tell me what's the meaning of this :
They checking the shell.. but I dont quite understand how the codes work..
can someone explain?
Code:
# *** Am I a C-shell or K-shell type; and is 'Load' already defined? If so, exit.
test "$?path" = 1 \
&& eval 'set SHELL=$shell ; \\
set _loadAlias="`alias Load`" && \\
if ( "$_loadAlias:q" != "" ) exit 0 ; unset _loadAlias' \
|| [ "$RANDOM" != "$RANDOM" -a \
"`type Load 2>&1`" != "Load not found" ] && return # ksh
They checking the shell.. but I dont quite understand how the codes work..
can someone explain?