kaliveda-dev team mailing list archive
-
kaliveda-dev team
-
Mailing list archive
-
Message #00692
Re: [Question #201649]: cannot locate new idtelescopes in gMultiDetArray
Question #201649 on KaliVeda changed:
https://answers.launchpad.net/kaliveda/+question/201649
Peter Wigg posted a new comment:
Just to clarify the files were in DOS format. The vi hex display
automatically converts 0D0A into 0A, and the hexdump and od commands use
a 2-byte representation by default so the ordering changes:
$ head -n1 Grid_ChioSi_C4-9_R322-606.dat | od -tx1
0000000 23 20 41 53 43 49 49 20 66 69 6c 65 20 67 65 6e
0000020 65 72 61 74 65 64 20 62 79 20 4b 56 49 44 47 43
0000040 68 49 6f 53 69 3a 3a 57 72 69 74 65 54 6f 41 73
0000060 63 69 69 46 69 6c 65 0d 0a << DOS line terminator
0000071
$ head -n1 Grid_ChioSi_C4-9_R322-606.dat | od -tx2
0000000 2023 5341 4943 2049 6966 656c 6720 6e65
0000020 7265 7461 6465 6220 2079 564b 4449 4347
0000040 4968 536f 3a69 573a 6972 6574 6f54 7341
0000060 6963 4669 6c69 0d65 000a << 'Looks like' a UNIX line feed
0000071
Which is why I couldn't see the problem, I think they must have been
edited by someone using an editor which automatically converts the line
terminator into the DOS value, but we live and learn :)
--
You received this question notification because you are a member of
KaliVeda Development Team, which is an answer contact for KaliVeda.