mirror of
https://github.com/g4klx/DMRGateway
synced 2025-12-20 21:25:37 +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
|
||||
if ($1 == "XLX950")
|
||||
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}
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user