^M

James McDonald james
Mon May 17 11:46:59 PDT 2004


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?
> TIA

Isn't it just a matter of doing a an echo -e \xxx where xxx is the octal 
value of the ascii code? Although I couldn't figure out the code for ^M 
by looking at the "man ascii" page... if someone knows I'm curious now 
aswell.







More information about the Linux-users mailing list