Dan Drake writes:
> You're correct that "cat" is unnecessary, but it looks nice to write

I agree that it looks nicer, but it is less efficient, which can sometimes
be significant.

> I don't quite see what this does. It will run the given echo command
> before each prompt...won't this just print a prompt twice?

It sets the window title of your xterm (PuTTY, in your case) to be the
current hostname.  This is useful when you SSH into a different box,
especially when you have multiple terminals open.

-- 
David Phillips <david at acz.org>
http://david.acz.org/


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list