Quantcast
Channel: User Sourav Kannantha B - Stack Overflow
Viewing all articles
Browse latest Browse all 60

Comment by Sourav Kannantha B on What are carriage return, linefeed, and form feed?

$
0
0
@user3346547 in your example nine is printed in the beginning of the next line because your stty has onlcr turned on which is converting \n to \r\n. If you turn that off, \n actually moves the cursor below vertically without moving it horizontally similar to you example of \f.

Viewing all articles
Browse latest Browse all 60

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>