/home/digadm02/.bash_history:#1520325239 /home/digadm02/.bash_history:sudo su
I have these kind of lines in file test.txt. I have to search the pattern of "#1520325239" and replace them with the value which I get from the command 'date -d @1520325239'. there are many lines like this. I have to read each line and replace it in the same file.