lastword.sh

 

### lastword.sh
###
### Generate output for the join.sh command

### Usage:  lastword.sh /path/to/*.html
###
### Example:  
### for i in `find . -type d`
### do
###     lastword.sh $i/*.html
### done
###

awk 'NF>1{print $NF}' $1 | grep [a-zA-Z]$ | grep -v "// " | grep -v \* | sort | uniq