|
From: | Kevin Atkinson |
Subject: | Re: [aspell-devel] Suggestion in Debian#900162: Sorted personal word and replace files |
Date: | Tue, 12 Jun 2018 15:00:53 -0400 (EDT) |
User-agent: | Alpine 2.11 (DEB 23 2013-08-11) |
On Tue, 12 Jun 2018, Agustin Martin wrote:
https://bugs.debian.org/900162 The user personal word and replace files stored under ~/.aspell.LL.prepl and ~/.aspell.LL.pws are not internally sorted, so whenever there are additions the entire contents change, making big diffs which is annoying if you store the files under a VCS. It would be really nice if the contents could be stored sorted alphabetically for example.
Hi, please note that expect for the header line Aspell does not care about the order of the file. It would be nice if Aspell would sort them, but if you want to use it for VCS you are free to sort the list yourself before committing. Both files are simply a header line then a plain word list. Simply sort the list and leave the header line alone.
https://stackoverflow.com/questions/14562423/is-there-a-way-to-ignore-header-lines-in-a-unix-sort Gives multiple ways to do this. Kevin
[Prev in Thread] | Current Thread | [Next in Thread] |