1: // Author: Jeffrey Bakker  |  Date: May14th 2002  |  langshell.cpp
     2: 
     3: // the Bourne shell Syntax definition file for Web C Plus Plus
     4: // Webcpp Copyright (C) 2002 Jeffrey Bakker
     5: 
     6: #include "langshell.h" 
     7: 
     8: LangShell::LangShell() {
     9: 	
    10: 	fill();
    11: 	init_switches();
    12: 
    13: 	doScalars  = Yes;
    14: 	doUnxComnt = Yes;
    15: }
    16: 
    17: void LangShell::fill() {
    18: 
    19: 	string K[] = {
    20: 	// add shell keywords -------------------------------------------------
    21: 		"case","done","do","elif","else","esac","exit","for","fi",
    22: 		"function","if","in","then","until","while"
    23: 	};
    24: 	for(int k=0;k < 15;k++) {keys.push_back(K[k]);}
    25: 
    26: 	string T[] = {
    27: 	// add UNIX commands --------------------------------------------------
    28: 	"alias","ar","awk","bg","cat","cc","cd","chgrp","chmod","clear","cmp",
    29: 	"compress","cp","date","dialog","diff","echo","export","fg","find","finger",
    30: 	"ftp","g++","gcc","grep","gunzip","gzip","jobs","killall","kill","ln","ls",
    31: 	"less","make","merge","mkdir","more","mv","ping","ps","pwd","read","rm",
    32: 	"rmdir","sed","set","sort","sleep","tail","tar","test","time","touch",
    33: 	"uncompress","wc","which","whoami","who"
    34: 	};
    35: 	for(int t=0;t < 58;t++) {types.push_back(T[t]);}
    36: }
    37: 



w e b c p p
web c plus plus