shell handles empty input