bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to input ^J?


From: Greg Wooledge
Subject: Re: How to input ^J?
Date: Mon, 19 Jul 2010 08:34:07 -0400
User-agent: Mutt/1.4.2.3i

On Sun, Jul 18, 2010 at 05:01:05PM -0700, John Reiser wrote:
> > Lastly since ^J is a newline you can generate one with echo "\n".
> 
> What does work is either of these:
> 
> $ echo ''
> $ echo -e -n '\n'

Or printf '\n'.

Or if he wants to use it in a command string, rather than producing it
on a stream, he can use the $'\n' quoting.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]