Screen under eterm, send_pwd_to_eterm

2008-07-08 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (Please Cc me in replies, as I am not subscribed here.) A user reported some annoying/puzzling behavior when running GNU Screen under bash under eterm: Every prompt would be preceded by the current working directory path, preceded by an extra slash. F

Unable to do a for loop in "here document"

2008-07-08 Thread Mr Aras
Hi, I've been trying to do a "for loop" in a "here document" but the variable is never assigned to the items in the list. e.g. #!/bin/sh sh <<-EOF for word in hello world do echo word = $word done EOF output is: word = word = Can someone tell me why this doesn't work? I've been going