Searched refs:CMDNAME (Results 1 – 3 of 3) sorted by relevance
35 CMDNAME="${1##*/}"36 CMDNAME="${CMDNAME%.test}"39 C="$TESTDIR/$CMDNAME"40 [ ! -e "$C" ] && echo "$CMDNAME disabled" && return42 C="$(which $CMDNAME 2>/dev/null)"43 [ -z "$C" ] && "C=$CMDNAME"
102 NAME="$CMDNAME $1"151 [ -z "$X" ] && X="$CMDNAME $2"
49 #define CLI_CMD_NAME(CMDNAME, PROGNAME, CMD) \ argument50 char CMDNAME[strlen ((PROGNAME)) + strlen ((CMD)) + 2]; \51 strncpy (CMDNAME, (PROGNAME), strlen ((PROGNAME))); \52 CMDNAME[strlen ((PROGNAME))] = ' '; \53 strncpy (CMDNAME + strlen ((PROGNAME)) + 1, (CMD), strlen ((CMD)) + 1)