Use more specific bash operators and set LENGTH correctly
Added basic usage information