Steven D'Aprano wrote:
>> 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.
>
Would you mind elaborating on how this works? I know it's not a bash
list, but I do not understand how ctrl-J is considered a literal.
Obviously, I must have a different definition of "literal". Where
can I find a list of other literals? My Google-fu is being weak
today. :(
~Ramit
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.