Programs saved with CRLF (DOS style)

Re: Programs saved with CRLF (DOS style)

by Charlie Daly -
Number of replies: 0
Hello Juan Carlos,

Thank you for your reply.

In fact there was no real inconvenience. As part of an investigation into academic integrity I was searching for patterns in a student's files. I knew that one file contained an exclamation mark character at the end of the file and yet when I used grep it couldn't find a match. I discovered then that the file had the CRLF line format and that was why grep couldn't find the match.

I asked the question as I wondered if this information could help with the investigation.

I did some experiments, and I discovered that if a file is uploaded, then, as you point out, it keeps the source end of line format. And, interestingly, if that file is subsequently edited in VPL, it maintains the same end of file format. This makes it seem like the feature you point out so that students can use VPL to store their own programs. In my experience, the end of line issue has only caused problems for editors and language translators seem to be immune to the problem.

All the best,

Charlie