Closed s-s-s closed 7 years ago
Is that really needed? You can use the file on MMDVMHost and MMDVMHost-Dashboard from the command:
curl 'http://registry.dstar.su/dmr/DMRIds.php' 2>/dev/null > ${DMRIDFILE}
This command (curl 'http://registry.dstar.su/dmr/DMRIds.php' 2>/dev/null > ${DMRIDFILE} ) creates a file with incorrect formatting, to which for example the dashboard in the name field writes an error. There are other applications that do not like this format, which contains tabs and blanks
@s-s-s all right with me... since is already merged with MMDVMHost.
Could I suggest a change, one line only?
curl 'http://registry.dstar.su/dmr/DMRIds.php' 2>/dev/null | sed -e 's/ /\t\t/g' | sed -e 's/\t/ /g' | sed -e 's/ / /g' > ${DMRIDFILE}
now it is merged, you can push your change on it...
@dg9vh, lets see what @s-s-s says on MMDVMHost. Dammm copy&paste.
This way it will looks nicer :)
curl 'http://registry.dstar.su/dmr/DMRIds.php' 2>/dev/null | sed -e 's/[[:space:]]\+/ /g' > ${DMRIDFILE}
Exellent! It works well.
@s-s-s make the pull request on MMDVMHost and MMDVMHost-Dashboard!
To get the data from database of the BrandMeister network in right format