bumble.sf.net language and parsing

plain text rm temp.sed echo '{' > temp.sed echo ' s/^ *[Pp]arameters/PARAMETERS/g' >> temp.sed echo ' s/^ *[Ss]yntax/SYNTAX/g' >> temp.sed echo ' s/^ *[Ee]xample/EXAMPLE/g' >> temp.sed echo ' s/^ *[Pp]rogrammer/PROGRAMMER/g' >> temp.sed echo ' s/^ *[Ll]ocation/LOCATION/g' >> temp.sed echo ' s/^ *[Dd]ocumentation/DOCUMENTATION/g' >> temp.sed echo ' s/^ *[Dd]escription/DESCRIPTION/g' >> temp.sed echo ' s/^ *[Ll]ast [Mm]odified/LAST MODIFIED/g' >> temp.sed echo ' s/^ *[Ss]tatus/STATUS/g' >> temp.sed echo ' s/^ *[Rr]esults/RESULTS/g' >> temp.sed echo ' s/^ *[Cc]omments/COMMENTS/g' >> temp.sed echo ' s/^ *[Aa]dditional [Ee]xamples/ADDITIONAL EXAMPLES/g' >> temp.sed echo ' s/^ *[Dd]ependencies/DEPENDENCIES/g' >> temp.sed echo ' s/^ *[lL]anguage/LANGUAGE/g' >> temp.sed echo ' s/^ *[Cc]reated/CREATED/g' >> temp.sed echo ' s/^ *[Ww]ork [Hh]istory/WORK HISTORY/g' >> temp.sed echo ' s/^ *[Ss]ee [Aa]lso/SEE ALSO/g' >> temp.sed echo ' s/^ *[Dd]ate/DATE/g' >> temp.sed echo ' s/^ *[Aa]uthor/AUTHOR/g' >> temp.sed echo ' s#\\mjblibrary\\[^.]*\.asp http://www\.geocities\.com/matth3wbishop/eg/asp/#g' >> temp.sed echo ' s/^ *(203\.62\.157\.45)//g' >> temp.sed echo ' s/^ *c:\\mjblibrary.*$/http:\/\/www\.geocities\.com\/matth3wbishop\/eg\/asp\//g' >> temp.sed echo ' s/^ *\\mjblibrary.*$/http:\/\/www\.geocities\.com\/matth3wbishop\/eg\/asp\//g' >> temp.sed echo ' s/^ *h:\\Library.*$/http:\/\/www\.geocities\.com\/matth3wbishop\/eg\/asp\//g' >> temp.sed

echo '}' >> temp.sed for file in `ls *doc.txt` do cat $file | expand | sed -e '/^ *$/d' > $file.old sed -f temp.sed $file.old > $file echo $file done