/usr/share/xastir/scripts/get-pop is in xastir 2.0.6-4build2.
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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | #!/bin/sh
#
# $Id$
#
# Script to retrieve GNIS files by state. 
#
# Written 20041205 Dan Brown N8YSZ
#
# Copyright (C) 2000-2012  The Xastir Group
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
#
# Look at the README for more information on the program.
#
#GNIS_SITE=ftp://aprs.tamu.edu/pub/GNIS
GNIS_SITE=http://www.eng.uah.edu/pub/xastir
SUFFIX=.gnis
x=`dirname $0`
. $x/values
if [ $# -lt 1 ]
then
    printf "%s: error - Need at least one state to download\n" $0
    printf "Usage: %s ST [ST]... \n" $0
    exit 1 
fi
cd /tmp 
while [ $1 ]
do 
    MYSTATE=`printf ${1} | tr a-z A-Z `
    printf "Retrieving GNIS file for %s\n" ${MYSTATE}
    rm -f ${MYSTATE}${SUFFIX}.bz2 ${MYSTATE}${SUFFIX}.txt ${MYSTATE}${SUFFIX}.gz
    if (wget ${GNIS_SITE}/${MYSTATE}${SUFFIX}.bz2)
    then
        bunzip2 ${MYSTATE}${SUFFIX}.bz2 
    elif (wget ${GNIS_SITE}/${MYSTATE}${SUFFIX}.gz)
    then
        gunzip ${MYSTATE}${SUFFIX}.gz
    else 
        rm -f ${MYSTATE}${SUFFIX}.zip ${MYSTATE}${SUFFIX} ${MYSTATE}${SUFFIX}.gz
        wget ${GNIS_SITE}/${MYSTATE}${SUFFIX}
    fi
    if ( [ -f ${MYSTATE}${SUFFIX}.txt ] ) then 
        printf "File successfully downloaded. Moving to ${prefix}/share/xastir/GNIS\n" 
        sudo mv ${MYSTATE}${SUFFIX}.txt ${prefix}/share/xastir/GNIS/${MYSTATE}.pop
	if [ ${MYSTATE} = "AK" -o ${MYSTATE} = "HI" ]; then
		sudo recode utf16..utf8 ${prefix}/share/xastir/GNIS/${MYSTATE}.pop
	fi
    elif ( [ -f ${MYSTATE}${SUFFIX} ] ) then 
        printf "File successfully downloaded. Moving to ${prefix}/share/xastir/GNIS\n" 
        sudo mv ${MYSTATE}${SUFFIX} ${prefix}/share/xastir/GNIS/${MYSTATE}.pop
    else
        printf "File for %s not successfully downloaded.\n" ${MYSTATE}
    fi 
shift
done 
 |