Re: Generating a new line in a text file

From: Date: Fri, 18 Jan 2002 10:35:11 +0000
Subject: Re: Generating a new line in a text file
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-81058@lists.php.net to get a copy of this message
Chris, \n = *nix \r = Mac \r\n = PC (now that you've 'dropped' "MS Notepad" into the conversation...) The simplest M$ tools content themselves with black blocks (apparently not being interested in your comfort), but the more sophisticated tools will sometimes oblige... =dn ----- Original Message ----- From: "Chris Janes" <Ginga@mad-monkey.freeserve.co.uk> To: <php-general@lists.php.net> Sent: 18 January 2002 05:15 Subject: Re: [PHP] Generating a new line in a text file > : > : Ah, so you're opening the file in something that doesn't understand > : newlines and prefers line feeds, then. > : > : In that case you'll want to use \r instead of \n. > : > : Jason > > You'll never guess what, that doesn't work either... still pretty black > blocks, but no new line... > > In a foolish move (perhaps) I'm opening the file in MS Notepad (I know, > there are better things to use, but I don't have them). I hope that > eventually I'll be able to only have to open the file to check how many > quotes are in it, and check spelling and the like... > > Bah, and I was hoping that working on this would help me get to sleep! > Ah well... > > Chris > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#81058) next »