-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reflows checking for newline at end of file. On unix-ish (Linux + MacOS), uses `tail -c1` to grab the last byte of the file, and then `wc -l` to count newlines in that string (of 1 byte). Maintains previous (pure R) logic for windows systems. --------- Co-authored-by: CJ Yetman <cyetman@rmi.org>
- Loading branch information
1 parent
288d99f
commit 54a8113
Showing
2 changed files
with
69 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters