1
0
mirror of https://github.com/km4ack/patmenu2.git synced 2025-05-16 14:50:13 -07:00

update APRS symbol and call

This commit is contained in:
KM4ACK 2022-08-02 07:07:19 -05:00
parent 35d8c56835
commit ee6c60858c

View File

@ -61,14 +61,15 @@ sed -i '1,17d' /run/user/$UID/tempgatelist
#process the file
while read -r line; do
CALL=$(echo $line | awk '{print $1}')
CALL=$CALL-WL
#CALL=$CALL-WL
CALL=`printf "%-9s" $CALL`
LAT=$(echo $line | awk '{print $5}' | sed 's/-//')
LONG=$(echo $line | awk '{print $6}' | sed 's/-//')
COMMENT=$(echo $line | awk '{$1=$2=$3=$4=$5=$6=$7=$8=""; print $0}' | sed -e 's/^[ \t]*//')
TIME=$(date -u +%H%M%S)
echo ";$CALL*$TIME""h""$LAT/$LONG-$COMMENT" >> ~/Desktop/gateways.pos
# echo ";$CALL*$TIME""h""$LAT/$LONG-$COMMENT" >> ~/Desktop/gateways.pos
echo ";$CALL*$TIME""h""$LAT\\$LONG""a""$COMMENT" >> ~/Desktop/gateways.pos
done < /run/user/$UID/tempgatelist
#let user know processing is finished
@ -79,8 +80,4 @@ yad --form --width=500 --text-align=center --center --title="WL2K to ARPS Object
#remove the temp file
rm /run/user/$UID/tempgatelist
$MAIN &
exit
echo "$CALL*$TIME""z""$LAT/$LONG-$COMMENT" > ~/Desktop/gateways.pos
exit