Hi,
I think you all have encountered this: do a "cat somefile" where
"somefile" is a text file _without_ a final newline. You'll see the
prompt is printed both at the end of the text printed by 'cat' and then,
also at the beginning of that same line.
I'm attaching a screenshot which should make it clear.
This results in a very weird/annoying effect.
I think it would be great if bash before printing the prompt could do a
simple check: if the cursor is not positioned in the first column of the
terminal, then prepend the prompt with a newline.
Thoughts?
Thanks,
Francesco

_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash