~$ echo $(date +%a%d\ %X) lun.24 17:40:28 ~$ inode-1 thunar.desktop lun.24% +17:40:40 ~$ cat inode-1 #/bin/bash # inode_check xdg-mime query default inode/directory >> /home/<user>/f1; echo $(date +%a%d%\ +%X) >> /home/<user>/f1; cat f1 How do you explain the presence of lun.24% in the script output? What would be the correct syntax to get rid of the % character?