Is there any way of getting bash to only output a '\n' if the cursor isn't already at the start of a line?
Is there any way of getting bash to only output a '\n' if the cursor isn't already at the start of a line?