remove readline logic when piping