/usr/lib/sympow/new_data is in sympow-data 1.023-8.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | #! /bin/sh
#
# This script should not need to be run directly,
# but will be automatically executed via "sympow -new_data []"
#
# example direct usages
# sh new_data /bin/sh /usr/bin/gp '-sp 3 -dv 2'
# sh new_data /bin/sh /usr/bin/gp '-cm -sp 4'
# sh new_data /bin/sh /usr/bin/gp '-sp 2'
# sh new_data /bin/sh /usr/bin/gp '-hecke -sp 3 -dv 1'
set -e
if [ -z $SYMPOW_INVOCATIONNAME ];
then
echo "**ERROR**: unset environment variable SYMPOW_INVOCATIONNAME"; exit;
fi
if [ $# != 3 ];
then
echo "**ERROR**: Wrong number of input parameters"; exit;
fi
SYMPOW="$SYMPOW_INVOCATIONNAME ${SYMPOW_OPTS_VERBOSITY:--quiet}"
echo "Running the new_data script for $3"
SH=$1
GP=$2
echo "Making the datafiles for $3"
echo ""
$SYMPOW -rewarp
$SYMPOW -shell1 "$3" | $SH
echo "Running the gp script"
echo ""
$SYMPOW -pari "$3" | $GP -f -q > /dev/null
echo ""
$SYMPOW -shell2 "$3" | $SH
$SYMPOW -rewarp
echo "Finished with $3"
exit 0
|