Skip to content

Commit 2309d87

Browse files
committed
Fix 'sort' and 'uniq' order
1 parent 97f4d8c commit 2309d87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/09-git-and-other-scms/sections/import-tfs.asc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ Open the file and find at which characters start and end the column and replace,
2525

2626
[source,powershell]
2727
----
28-
PS> cat AUTHORS_TMP | cut -b 11-20 | tail -n+3 | uniq | sort > AUTHORS
28+
PS> cat AUTHORS_TMP | cut -b 11-20 | tail -n+3 | sort | uniq > AUTHORS
2929
----
3030

3131
The `cut` command keeps only the characters between 11 and 20 from each line.
3232
The `tail` command skips the first two lines, which are field headers and ASCII-art underlines.
33-
The result of all of this is piped to `uniq` to eliminate duplicates, and saved to a file named `AUTHORS`.
33+
The result of all of this is piped to `sort` and `uniq` to eliminate duplicates, and saved to a file named `AUTHORS`.
3434
The next step is manual; in order for git-tfs to make effective use of this file, each line must be in this format:
3535

3636
[source,text]

0 commit comments

Comments
 (0)