Ruud H.G. van Tol on Tue, 10 Jan 2023 10:23:15 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Programmatically obtain a complete list of commands and keywords for updating the PARI/GP third-party IDE tools.



On 2023-01-10 10:04, Joël Bleuse wrote:
echo '?*' | gp -fq | sed -E '/^$/d;/RETURN/d;s/ +(\w)/\n\1/g' > gpfunctions

echo '?*' |gp -fq |perl -aE'/\bRETURN\b/ or push@R,@F;END{say for@R}' |sort|less

shows:

Catalan
Col
Colrev
Euler
I
[...]
znprimroot
znstar
znsubgroupgenerators

For case-insensitive sort, add -f.

-- Ruud