improved handling of quoted input, cleaned up shell code, implemented path operators . and ..