Probably this script should be using the .spad files that are already untangled into the src/algebra directory - not the pamphlet files themselves.
BTW, the use of double dollar signs like $$a is a standard escape idiom for referring to a shell variable inside a make script. On 22 March 2014 13:15, Waldek Hebisch <hebi...@math.uni.wroc.pl> wrote: > Ralf Hemmecke wrote: >> >> > I think we should apply the patch with LC_COLLATE. >> >> There was a $$a in the awk script which I didn't understand anymore. I >> guess that should rather have been a $$0. >> >> I've removed the first sort and replaced sort+awk by something >> completely in awk. So the selection of lines does not depend on any >> locale anymore. >> >> Whether the second sort is with LC_COLLATE=C or something else makes on >> my computer only a difference in the two lines >> >> DERHAM DeRhamComplex >> DECIMAL DecimalExpansion >> >> To be honest, I'd like DeRham be sorted after Decimal, so I left out >> LC_COLLATE=C in the patch. > > I do not understand: with LC_COLLATE=C 'sort -k 2' (which you > use) gives me DeRham before Decimal, while national sort > gives the opposite. > >> There is however still room for improvement, since .pamphlet files could >> contain two )abbrev lines with the same short name and different long >> name. If one of those lines appear in a chunk that is not used for the >> actual .spad file, then this might lead to a problem. > > I would consider such thing a bug in .pamphlet file. > > -- > Waldek Hebisch -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+unsubscr...@googlegroups.com. To post to this group, send email to fricas-devel@googlegroups.com. Visit this group at http://groups.google.com/group/fricas-devel. For more options, visit https://groups.google.com/d/optout.