Obnoxious postings from Google Groups
ramit.prasad at jpmorgan.com
Tue Nov 6 18:16:44 CET 2012
Steven D'Aprano wrote:
> On Mon, 05 Nov 2012 14:47:47 -0500, Dennis Lee Bieber wrote:
> Nevertheless, I do tend to prefer underscores to spaces, simply because I
> often use naive tools that treat spaces as separators. That is, command
> line shells.
I visually prefer spaces but it is easier to work with underscores.
Thankfully there are plenty of command line utilities for pattern
renaming that let me shift to and from spaces as necessary.
> For what it's worth, you can enter any control character in Unix/Linux
> systems with readline in bash using the C-q key combination. Newline
> needs a bit of special treatment: you need to wrap the name in single
> quotes to stop the newline from being interpreted as the end of the
> [steve at ando temp]$ touch 'foo
> 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.
This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.
More information about the Python-list