Discussion:
[Aspell-user] Multiple users sharing a .aspell.en.pws file
Steve Young
2012-01-06 21:29:15 UTC
Permalink
Hi,



I have a team of people that use aspell to spell check documents that want
to have centralized, shared, list of non-dictionary words.



Would it be possible for me to just link every user's personal
.aspell.en.pws file to another single file, such that when they Add a word
to the list it then becomes a valid word for all users?



Will aspell handle file-locking so that no collisions or damage occur to the
single shared file?



I'm thinking an alternative might be a cron job that grabs every users
personal .aspell.en.pws file, concatenates and de-dupes them, then use that
file as an -extra-dict? But that doesn't seem as clean.



Or is there a better way for me to implement a shared word list?



Thanks and best regards,

Steve
Kevin Atkinson
2012-01-06 21:53:14 UTC
Permalink
Post by Steve Young
Would it be possible for me to just link every user's personal
.aspell.en.pws file to another single file, such that when they Add a word
to the list it then becomes a valid word for all users?
Yes
Post by Steve Young
Will aspell handle file-locking so that no collisions or damage occur to the
single shared file?
Yes. Aspell personal dictionary is add only for this very reason. In
fact when you save you don't just save but sync so that the user will also
so any recent additions to the file.

Loading...