Split the file.txt in the /dev/shm directory by the delimiter ',' and select the 4th and 7th fields. Add an '@' at the beginning of each line and pass two arguments to the printf command.
cut -d',' -f4,7 /dev/shm/file.txt | sed 's/^/@/' | xargs -L2 printf "%s\t"