[Tutor] Python popen command using cat > textfile .... how toterminate

Steve Willoughby steve at alchemy.com
Fri May 15 18:06:00 CEST 2009

On Fri, May 15, 2009 at 08:51:26AM -0700, Steve Willoughby wrote:
> On Fri, May 15, 2009 at 04:18:16PM +0100, Alan Gauld wrote:
> > echo ^D | cat > foo
> > 
> > sends a CtrlD to cat which writes an empty file to foo.
> And since this seems to be a point of confusion for you,

And that was actually supposed to be addressed to the original
poster, who seemed to be confused about where the ^D character
was going, not Alan.

Steve Willoughby    |  Using billion-dollar satellites
steve at alchemy.com   |  to hunt for Tupperware.

More information about the Tutor mailing list