read in a pipe (isatty) and can take one argument