]> www.ginac.de Git - ginac.git/blob - ginsh/ginsh_op_help.sed
G_numeric: put convergence/acceleration transofrmations into helper functions.
[ginac.git] / ginsh / ginsh_op_help.sed
1 # Convert help for ginsh operators from man page to C source
2 /GINSH_OP_HELP_START/,/GINSH_OP_HELP_END/{
3
4 # .B lines contain the operator symbol
5 /.B/{
6
7 # extract operator symbol
8 s/.B \(.*\)/insert_help("operators","\1\\t"/
9 s/\\-/-/g
10 p
11
12 # next line contains description
13 n
14 s/^/"/
15 s/$/");/
16 p
17 }
18 }