Questions tagged [linefeed]

Linefeed, also known as LF, is a character that controls the switching to the next line.

Linefeed, also known as LF, is a character that controls the switching to the next line.

303 questions
-3
votes
1 answer

Regex for matching linefeed with next character ignored

I am trying to select linefeed and remove them in a comma separated file via REGEX search in notepad++, the criteria for matching linefeed is that it should not followed the character "I" in the next line. Example:- Output should be:-
-6
votes
1 answer

Get hidden characters of line feed in C

I have a work to do which I need to make a linux2dos function. Basically I have to find all line feeds (0X0A) and put carriage return before it (0X0D). As LFs and CRs are hidden in the file I don't really know how to work with them. I think fgetc…
-6
votes
3 answers

How does source code manage white space and concatenation

In the following code: $email_body = "message from $name \n" "email address $visitor_email \n" "\n $message"; the fourth line generates a parsing error dues to an unexpected ", but the quotes seem to be correctly paired. …
talvi
  • 39
  • 10
1 2 3
20
21