Obnoxious postings from Google Groups

Steven D'Aprano steve+comp.lang.python at pearwood.info
Tue Nov 6 17:50:59 EST 2012


On Tue, 06 Nov 2012 17:16:44 +0000, Prasad, Ramit wrote:

>> To enter the newline, I typed Ctrl-Q to tell bash to treat the next
>> character as a literal, and then typed Ctrl-J to get a newline.
> 
> That sounds complicated, my version of bash lets me type
> 'foo<enter>bar'<enter> for the same effect.

Well, I learned something new about bash.

On the other hand, the Ctrl-Q next-char-is-literal trick works for 
entering control characters that otherwise don't have a key on the 
keyboard.



-- 
Steven



More information about the Python-list mailing list