# Remove the first two fields in a mapfile, which comes from only arg # or stdin. # Makes mapfiles more resistant to changes in source; used for testing. if [ "x$1" = "x" ] then sed -n -e 's/[0-9]* [^ ]* //p' else sed -n -e 's/[0-9]* [^ ]* //p' $1 fi