In fortran, it's not possible to add an end tag to a read statement, if an specific format is not provided. For example,
read (1,*,end=3)
is not allowed. One must provide the specific format of the data to read. Is there an alternative to use and end tag while using the arbitrary format specifier ' * ' ?