/* Copyright (c) 2001 by SoftIntegration, Inc. All Rights Reserved */

int main(int argc, char *argv[]) {
  if(argc == 1)
    alias();
  else if(argc == 2)  {
    char * alius = alias(argv[1]);
    if(alius)
      printf("%s\n", alius);
  }
  else if(argc == 3) 
    alias(argv[1], argv[2]);
  else { 
    int i=1;
    printf("alias: too many arguments\n");
    printf("alias");
    while(argv[i]) {
      printf(" %s", argv[i]);
      i++;
    }
    printf("\n\nUsage: alias\n"
           "       alias name\n"
           "       alias name alius\n");
  }
}



