64 for (nextc = comm; nextc; nextc = nextc->
wl_next)
73 for (ntries = 21; ntries; ntries--) {
90 fprintf(
cp_err,
"Error: alias loop.\n");
136 word = wlist->wl_word;
145 for (al = cp_aliases; al; al = al->
al_next)
178 struct alias *al, *ta;
182 if (cp_aliases ==
NULL) {
190 if (strcmp(al->
al_name, word) > 0)
217 cp_addcomm(word, (
long) 1, (
long) 1, (
long) 1, (
long) 1);
233 for (al = cp_aliases; al; al = al->
al_next)
261 for (al = cp_aliases; al; al = al->
al_next)
281 else if (wl->wl_next ==
NULL)
294 struct alias *al, *na;
296 if (
eq(wl->wl_word,
"*")) {
297 for (al = cp_aliases; al; al = na) {
void cp_unalias(char *word)
void com_unalias(wordlist *wl)
struct wordlist * wl_prev
static wordlist * asubst()
void com_alias(wordlist *wl)
struct histent * cp_lastone
void cp_setalias(char *word, wordlist *wlist)
void cp_doalias(wordlist **list)
struct alias * cp_aliases
struct wordlist * wl_next
void cp_paliases(char *word)