Re: (warn) isn't doing what I expect it to



Kent M Pitman <pitman@xxxxxxxxxxx> writes:
> Additionally, there were some systems where you pressed Enter (a key
> distinct from Return or Linefeed) and this meant not to add a newline
> character but to activate immediately, submitting what had been typed
> but not any termination key.

That's ^D in Unix (except ^D on an empty line will usually be
interpreted as EOF).
.



Relevant Pages

  • Small Correction to K&R Exercise 1-22 Solution on CLC-Wiki
    ... lines after the last non-blank character that occurs before the n-th ... int t,len; ... This space will be replaced by a newline, ...
    (comp.lang.c)
  • Re: Problem with embedded carriage returns
    ... Under Windows, it is, in fact, a pair of characters comprising a Carriage Return character and a Line Feed character in that sequence. ... If what you describe is correct then the 'newline' imbbeded between quotes is not a 'newline' at all. ... I further suspect that where the imbeded 'newline' should have been, Notepad would have shown an 'unprintable' character which looks like a hollow rectangle. ... There are actually some 19 columns of data but when a StreamReader.ReadLine method tries to read line by line, it only returns data up to the first embedded newline chars. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Small Correction to K&R Exercise 1-22 Solution on CLC-Wiki
    ... Your fix looks correct to me at least. ... I don't think that overwriting the n-th character with a ... int t,len; ... ** to the foldarea with a newline. ...
    (comp.lang.c)
  • Re: [PHP] CSV Files
    ... After I right out the column headers do I have to put a '/n' to have it start a new line in the CSV file? ... refer to a newline character. ... rather than chrin PHP, ... character at the end of every row in CSV including the header row. ...
    (php.general)
  • Re: Small Correction to K&R Exercise 1-22 Solution on CLC-Wiki
    ... Your fix looks correct to me at least. ... I don't think that overwriting the n-th character with a ... int t,len; ... ** to the foldarea with a newline. ...
    (comp.lang.c)