I am trying to parse the following lines and has to use * (asterisk) as the delimiter.
These lines are in a file, for example tmp.txt and I am using a while loop
Instead of just getting the timestamp, I am getting the timestamp plus what looks like a directory listing of all files, i.e. like a timestamp and echo * of the directory that I am in.
Can anyone please advise how to get around this?
Feeback/advise much appreciated. Thanks in advance.
---------- Post updated at 09:06 PM ---------- Previous update was at 08:42 PM ----------
Note that the strings are supposed to be one long line of strings so tmp.txt should be as below:
This will never provide the output that you expect. For this, I would replace all the "<space>*<space>" to another delimiter and then would try reading the lines from the file