From ee6c60858cc33aaa3f2bc79443accd51988237c0 Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Tue, 2 Aug 2022 07:07:19 -0500 Subject: [PATCH] update APRS symbol and call --- convert_to_aprs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/convert_to_aprs b/convert_to_aprs index 70572c5..923b555 100755 --- a/convert_to_aprs +++ b/convert_to_aprs @@ -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 \ No newline at end of file +exit \ No newline at end of file