Sort data in LibreOffice Writer

rikona rikona at sonic.net
Fri Feb 25 19:14:26 UTC 2022


On Wed, 23 Feb 2022 17:22:58 -0600
Jay Ridgley <jridgley2 at austin.rr.com> wrote:

> Good evening.
> 
> My wife has created a large number if recipe cards, over a period of 
> several years, in a single file. Is there any way to alphabetize them
> by recipe name.
> 
> They are formatted as a single page in most cases, however, a few are 
> two pages long. The page if formatted for a 4x6 card. There are well 
> over 200 of them. I have not seen anything that provides a clue on
> how to sort them.
> 
> There is a title line (naturally) and a body but other than the title 
> being on a single line at the top of the page they are just a file of 
> data records.
> 
> Ideas welcome.

I did something much like this MANY years ago. Don't remember all the
details but it went like this:

edit the file-
above each recipe, insert a 'trigger text' [something like xkrvaebx]
next line is the file name [only] (usually the recipe title)
recipe follows, until the next one [xkrvaebx]

I wrote what was a simple script [I was never a good scripter :-) ]
that went through the file and created a number of recipe files, some
of which we still use. The 'trigger text' made it easy.

Rik






More information about the ubuntu-users mailing list