/usr/bin/join-into-groups-of is in ncbi-entrez-direct 7.40.20170928+ds-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3
#!/bin/sh xargs -n "$@" echo | sed 's/ /,/g'