Add a function and a global alias to extract a line from stdin