🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.acrobat.reader
1 messages
1 total messages Started by Tester Thu, 18 Jan 2007 18:45
Eliminating line breaks in cut from PDF files?
#473
Author: Tester
Date: Thu, 18 Jan 2007 18:45
22 lines
1276 bytes
I got these awkward line breaks within a paragraph when I cut and
pasted from a PDF file and I wanted the pasting program to determine
line breaks within a paragraph. Is there any easy way to do that?

I just pasted it into a text file and then wrote a little filter in
"C" to get rid of all of the line breaks. (Cygwin GCC in an XP "DOS"
box using ANSI text files.)
\

#include <stdio.h>
int main(){

int c;

while (1){
if ((c= (int) getchar())==EOF) return 0;
else if (c >= 0x20) putchar(c);

}}

-- 
Posted via a free Usenet account from http://www.teranews.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads