STRIPPING!!!!

NikPreviousAcct

No Lifer
Aug 15, 2000
52,763
1
0
Originally posted by: Electric Amish
Use GREP.

amish

or, if you're on a more user friendly opperating system that's actually compatible with something fairly often, you might try doing it the hard way.

Arrow keys and the delete button.

nik
 

oLLie

Diamond Member
Jan 15, 2001
5,203
1
0
Maybe you could use a stringtokenizer with nothing as the delimiter? (assuming java i guess)
 

NuclearFusi0n

Diamond Member
Jul 2, 2001
7,028
0
0
Originally posted by: ffmcobalt
Originally posted by: Electric Amish
Use GREP.

amish

or, if you're on a more user friendly opperating system that's actually compatible with something fairly often, you might try doing it the hard way.

Arrow keys and the delete button.

nik

for a 1 megabyte text file? i'll pass
 

NuclearFusi0n

Diamond Member
Jul 2, 2001
7,028
0
0
Originally posted by: singh
What kind of a solution are you looking for? What OS are you on?

i'm on win2k
I'm hoping i just just load a program, specify a file, specify an output directory, and click go
 

propellerhead

Golden Member
Apr 25, 2001
1,160
0
0
In MS Word,

File | Open. Open your file.

Edit | Replace. For the Find What text, enter "^p". That's the special code for a paragraph mark. Don't enter anything in the Replace With text.

Replace All.

File | Save As.

 

NuclearFusi0n

Diamond Member
Jul 2, 2001
7,028
0
0
Originally posted by: propellerhead
In MS Word,

File | Open. Open your file.

Edit | Replace. For the Find What text, enter "^p". That's the special code for a paragraph mark. Don't enter anything in the Replace With text.

Replace All.

File | Save As.

thanks bro, now i just need to install word ;)
 

clicknext

Banned
Mar 27, 2002
3,884
0
0
I thought it was pictures of you stripping... I was quite eager to see that but now I'm dissapointed.
 

NuclearFusi0n

Diamond Member
Jul 2, 2001
7,028
0
0
Originally posted by: clicknext
I thought it was pictures of you stripping... I was quite eager to see that but now I'm dissapointed.

Just give me a few minutes
*warms up the fully digital 1080p vid cam [that i wish i had]*
:D
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
Originally posted by: ffmcobalt
Originally posted by: Electric Amish
Use GREP.

amish

or, if you're on a more user friendly opperating system that's actually compatible with something fairly often, you might try doing it the hard way.

Arrow keys and the delete button.

nik


I find your definition of "more user firendly" odd. You'd find it easier to press "end, delete" a thousand times in repetition than to type ":%s/\n/ /g" in vi and have the whole thing done for you?
 

Cyberian

Diamond Member
Jun 17, 2000
9,999
1
0
Originally posted by: propellerhead
In MS Word,

File | Open. Open your file.

Edit | Replace. For the Find What text, enter "^p". That's the special code for a paragraph mark. Don't enter anything in the Replace With text.

Replace All.

File | Save As.
Would that actually remove all the CRs, or just the paragraphs?

 

Rias

Member
Aug 23, 2002
101
0
0
If you have access to perl I would do it like this:

perl -pi.bak -e 's/\r//g' filename

It will remove all carriage returns in the file (assuming that is really what you want to do) and make a copy of the oldfile in filename.bak.
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
Originally posted by: Rias
If you have access to perl I would do it like this:

perl -pi.bak -e 's/\r//g' filename

It will remove all carriage returns in the file (assuming that is really what you want to do) and make a copy of the oldfile in filename.bak.

oohh.... you're good...

edit: I nominate you for "best first post ever" :)