Sharedwww / people / brumer / william-scriptOpen in CoCalc
Author: William A. Stein
1
2
cat curves???_?_.???|sed 's/^\[\[\([-0-9, ]*\)\], \([-]\|\)\([0-9]*\),[ ]*\(even\|odd\|setzer\), [ ]*\([0-9]*\).*$/< \3, \5, [\1] >,/' |sort +1 -n >ranks
3
4
5
# cat curves???_?_.???|sed 's/^\[\[\([-0-9, ]*\)\], \([-]\|\)\([0-9]*\), \([0-9]*\).*$/<\3, [\1]>,/' | sort +1 -n >ranks
6
7