Skip to content

Commit

Permalink
fix info about 'sort' parameters
Browse files Browse the repository at this point in the history
some (newer ?) versions of sort doesn't handle +2 parameter, -k3 should be used instead
  • Loading branch information
Alter-1 authored May 11, 2019
1 parent 49c66a3 commit 85eadd9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions langstats/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Steps:
- Produce character frequency table by running charstats on the chunk, as:
mkcharstats french/french_cp1252.txt | sort -nr +2 > \
french/charstats_french_cp1252.txt
or (for other versions of sort)
mkcharstats french/french_cp1252.txt | sort -nr -k3 > \
french/charstats_french_cp1252.txt

- Edit the resulting file, Just get rid of a few lines that break the
following step (the first one, the last one and the one for space (0x20)
Expand Down

0 comments on commit 85eadd9

Please sign in to comment.