Subtracting two timestamps in bash script
问题 I have a file that contains a set of Timestamps in format of H:M:S.MS , I can read and print all of the saved Timestamps but when I do some arithmetic operation like Subtract (say Timestamp2 - Timestamp1 ) it doesn't give me the answer, I do not have experience work with bash script programming. Any suggestions, recommendations will be much appreciated. Here is the screen shot of my problem. Here is an example : Start Time = 17:53:01.166721 End Time = 17:53:01.369787 The expected result for