mirror of
https://github.com/g4klx/DMRGateway
synced 2025-12-21 05:25:40 +08:00
Fix newline problem in the output file. Thanks to Steve G8ZMG.
This commit is contained in:
@@ -94,7 +94,7 @@ BEGIN {
|
|||||||
reflector=4001
|
reflector=4001
|
||||||
if ($1 == "XLX950")
|
if ($1 == "XLX950")
|
||||||
reflector=4005
|
reflector=4005
|
||||||
printf "%s;%s;%d\n", substr($1,4), $2, reflector
|
printf "%s;%s;%d\n", substr($1,4), substr($2,1,length($2)-1), reflector
|
||||||
}' > ${XLXHOSTS}
|
}' > ${XLXHOSTS}
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user