Clyde Development Corp


Clyde Development Corp and Computers/Technology and My Site and Programming21 Nov 2006 11:32 pm

My friends Jeff & Marcus opened a retail store in Fort Collins called The Mineral Cache. I created the company website, MineralCache.com, and installed a digital security system that I built. I hope to have a marketable system after this project. Same thing happened with my Phone Log/SMDR system.

Clyde Development Corp and Programming18 Sep 2006 08:29 pm

I thought this might come in handy while working with large sets of data as I do. It’s a simple shell script that takes a text file as an argument and returns each unique ‘word’ and the total occurences of that word(‘frequency’) on individual lines.
Remember to chmod +x or it won’t run.


[pound][bang][slash]bin[slash]bash
# wf: Crude word frequency analysis on a text file.
# Check for input file on command line.
ARGS=1
E_BADARGS=65
E_NOFILE=66
if [ $# -ne "$ARGS" ]
# Correct number of arguments passed to script?
then
echo "Usage: `basename $0` filename"
exit $E_BADARGS
fi
if [ ! -f "$1" ] # Check if file exists.
then
echo "File \"$1\" does not exist."
exit $E_NOFILE
fi
cat "$1" | xargs -n1 | \
# List the file, one word per line.
tr A-Z a-z | \
# Shift characters to lowercase.
sed -e 's/\.//g' -e 's/\,//g' -e 's/ /\
/g' | \
# Filter out periods and commas, and
#+ change space between words to linefeed,
sort | uniq -c | sort -nr
# Finally prefix occurrence count and sort numerically.
exit 0

Clyde Development Corp and Computers/Technology and My Site30 Jul 2006 07:20 pm

I thought a list of all the domains I own might be worth posting.

  • Active
  • Inactive
  • All the domains that I own are for sale (for the right price, of course). If you are interested, contact me at frank AT clydedevelopment.com