Skip to content

Commit

Permalink
Change line ending from DOS- to Unix-style.
Browse files Browse the repository at this point in the history
Motivation:

We have inconsistent line endings at the moment: the Ontology metadata
file uses Unix-style line endings while the PaNET.csv file uses
DOS-style line endings.  It would be better if the PaNET repository was
consistent.

Moreover, Unix tools may convert DOS-style lines to Unix-style lines.
This results in large diffs, making it hard to see actual changes.

Modification:

Run the `dos2unix` command on the PaNET.csv.  This results in two
changes:

  * The line endings are updated from `\r\n` (`0x0d 0x0a`) to `\n`
  (`0x0a`)

  * The UTF BOM (a three-byte sequence at the file's beginning that is
  normally not visible) is removed.

Result:

More consistent choice of line ending.  Removal of potentially confusing
BOM.

Closes: #128
  • Loading branch information
paulmillar committed Jul 17, 2024
1 parent 991415d commit b4e5ed1
Showing 1 changed file with 403 additions and 403 deletions.
Loading

0 comments on commit b4e5ed1

Please sign in to comment.