Bourne shellized lfetool v0.3.2

Removed bashisms.
Tweaked to run in cygwin.