dpkg-name --version (return code: 0)
Debian dpkg-name version 1.18.4.
dpkg-name --help (return code: 0)
Usage: dpkg-name [<option>...] <file>...
Options:
-a, --no-architecture no architecture part in filename.
-o, --overwrite overwrite if file exists.
-k, --symlink don't create a new file, but a symlink.
-s, --subdir [dir] move file into subdirectory (use with care).
-c, --create-dir create target directory if not there (use with care).
-?, --help show this help message.
-v, --version show the version.
file.deb changes to <package>_<version>_<architecture>.<package_type>
according to the 'underscores convention'.