Added -y option to allow skipping the trash-emptying prompts.

Also:
 - Prompt response handling made more robust: just pressing ENTER now aborts.
 - Typo fixed.
getline() robustly only reads up to the first newline (buffer is allocated on demand).