You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-7Lines changed: 17 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Using Newline, you can make all of your source code neat and consistent before c
15
15
* Can add a trailing newline to the end of files if one doesn't already exist, and remove excess trailing newlines from the end of files.
16
16
* Supports any ASCII-like encoding of files such as UTF-8, UTF-8 without BOM or ISO-8859-1.
17
17
* Supports Linux, OS X and Windows (with proper Unicode filename support).
18
-
* Fast. Newline is written in C, and can process a 1GiB text file with 21 million lines in XXX on a regular HDD.
18
+
* Fast. Newline is written in C, and can process a 1GiB text file with 21 million lines at a rate of 9.4 MiB/s on a regular HDD.
19
19
20
20
Newline doesn't perform any conversion of tab characters. If you want to convert tabs to spaces or vice-versa, please refer to the `expand` and `unexpand` programs respectively from the GNU Core Utilities.
21
21
@@ -36,9 +36,11 @@ Each `FILE` argument specifies a text file to process. Options are applied to al
36
36
Standard POSIX command line argument conventions apply, i.e. `newline -- --verbose -N` would process a file named `--verbose` and `-N`, `newline -NSv` is the same as `newline -N -S -v`, and `newline -tCRLF` is the same as `newline -t CRLF`.
37
37
38
38
### Recursively processing directory
39
-
You can make use of a Bash or Batch script to run Newline on an entire directory. The following examples run Newline, and then convert tabs to spaces using `expand`.
39
+
You can make use of a Bash or Batch script to run Newline on an entire directory.
40
40
41
41
#### Bash script
42
+
This example also converts tabs to spaces using `expand`.
0 commit comments