No need to force encoding WAV to FLAC
Always use PROGNAME as string

This commit makes sure that the variable is always, consistently treated
as a string.
Fix issue with spaces in a file name

When a single FLAC file is given as the argument, spaces in the file
name caused the script to go crazy. This is a bash/getopts limitation
and other than writing my own argument parser, there's no good fix.

This effectively means that the script can take exactly one argument,
which is either a single FLAC file or a directory. No argument is
interpreted as the current directory. Any more than one argument will
break things.

This makes this script a prime candidate to move to ruby or python.
Rewriting script using ruby

Since the bash script has issues handling multiple inputs with spaces in
the file name, it's being rewritten in ruby.

This first commit records the completion of the basic FlacFile class
which deals with normalizing and/or re-encoding a single FLAC file. If
the file is not a valid FLAC file, it is left alone.
Multi-threaded directory recurser function done

This function will enter a directory and fork off processes that will
simultaneously process all content in that directory.

Now, this only really expects to find all FLAC files at the second
directory level, so this may cause issues if you have FLAC files at
different levels. In that case, may be forking may not be a great
idea...
User-facing part for script done

The user-facing part will process input arguments and pass on each input
to the processing function. This script can now handle multiple
arguments, a mix of files and directories, with and without spaces in
the names.
Minor formatting changes
Code clean up

Comments and whitespace cleaned up
Fix issue with forking

When Process.wait is called without a pid, it waits for just the first
child process to exit before moving on. It also throws an error if a
directory is found to be empty.

This is now fixed by using Process.waitall instead, which waits for all
child processes to exit before moving on. It will also not throw errors
when no child processes exist.
Removing the bash script

The ruby rewrite has achieved feature parity with the bash script and is
currently capable of processing multiple inputs with and without spaces
in the file or directory names.
Merge branch 'development'

Conflicts:
	normalizeFLAC.sh
Version 2.0

The script has been rewritten in ruby and is now capable of accepting
multiple arguments with and without spaces.