Make better use of 'read' built-in command