LoginSignup
0
0

More than 1 year has passed since last update.

【Linux】改行コードとは?

Last updated at Posted at 2022-10-28

改行コード

コンピュータ上でテキストファイルを扱う際に使用する制御符号。
OSに準じたものと異なる改行コードを使用すると正しく改行されない。
多くのシステムではキャリッジリターン(CR:\r)、ラインフィード(LF:\n)を用いる。

代表的な改行コードとOSの組み合わせ

■CRLF(\r,\n):Windows
■CR(\r):Unix系
■LF(\n):MacOS

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0