^M

Kurt Wall kwall
Mon May 17 11:46:57 PDT 2004


An unnamed Administration source, Ted Ozolins, wrote:
% During my days working with cp/m I use to use in scripts ^M to obtain 
% the action of <Enter>. How or what can be used in bash (as in rc.local) 
% to get the same action?

I'd have to ask what you're trying to do. In the short run, you might
try ^J, but, in a script, you would enter it at the keyboard using
^V^J. I'm guessing if you need to do this, there's a better way to
do it. :-)

Kurt
-- 
Best of all is never to have been born.  Second best is to die soon.


More information about the Linux-users mailing list