What is r in shell script?

What is r in shell script?
Answer
Bash expects that end-of-line in a script is always and only a newline (n) character, Unix-style, not a carriage return-newline combination (rn) like you normally see on Windows. Bash thinks the r character is just an ordinary character at the end of the string. … Pass the script through dos2unix to fix the newlines.
 

Tìm kiếm

Back
Top