Question

Is tab character in "\t" or "\r\t" in Solaris ? And the new line character sequence \n or \r\n ?

thanx

Was it helpful?

Solution

  • \t = tab
  • \r = carraige return
  • \n = newline

Solaris standard line delimiter is \n

OTHER TIPS

A tab character is "\t", always. A newline on Solaris is "\n", the only time a newline is "\r\n" is in DOS/Windows land.

Tab is always "\t", carriage-return is "\r", and newline is "\n".

To be very specific, the end-of-line (EOL) marker on DOS-based systems is "\r\n". It's apparently just a carriage-return on early Apple systems, and just newline on most others.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top