📄 rdmcompare
字号:
#!/bin/sh## Compare the RoadMap map directory content with the Tiger directory content# to point out counties that have not yet been translated (or for which the# translation failed).## USAGE:# ------## rdmcompare <tiger-path> [maps=<map-directory-path>]#MAPSDIR=/usr/local/share/roadmapSTARTDIR=`pwd`TIGERDIR=$1shiftcase $1 in maps=*) MAPSDIR=`expr $1 : 'maps=\(.*\)'` shift ;;esacfunction check_one_county { base=`basename $1` fips=`expr substr $base 4 5` if [ ! -e $MAPSDIR/usc$fips.rdm ] ; then echo "## usc$fips.rdm was not generated" echo "## usc$fips.rdm was not generated" >> $STARTDIR/buildmap_errors.log fi}cd $TIGERDIRfor i in tgr*.zipdo check_one_county $idonefor i in TGR*.ZIPdo check_one_county $idone
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -