From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 02RLDfuq022448 for ; Fri, 27 Mar 2020 17:13:42 -0400 Received: by smtp.corp.redhat.com (Postfix) id B08F82166B2D; Fri, 27 Mar 2020 21:13:41 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast04.extmail.prod.ext.rdu2.redhat.com [10.11.55.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AC5DB2166B2B for ; Fri, 27 Mar 2020 21:13:37 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9CAE2101A55A for ; Fri, 27 Mar 2020 21:13:37 +0000 (UTC) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=dkim.mimecast.com; s=201903; t=1585343617; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: references:references; bh=8K5czlcEtMcS5V/keO3965L1gmsE/gxqwkozJpBvr9o=; b=QSUxA7Dy7AMOjSja+UD7jwKZ9ld9DuPt/AgGbNDcNv44ZeXnNmIz0oTA0hGOXCUHn5Zy+g XCdhdL0IJR6mFU48QjUel0nS6/Od7uiz7ZdVkVvp0lOjA2KalvuatUarS8bmeyMSZ2ntXt uU8P31fF6EWqKtIZr6L+Ky/Nm6qkDf+c26vVrYZppuH71XBB01BQhAP8YVzA7XY4gTr4t5 b4/KcVTMKX0/1litGOQXp0fS69Y3Rm/ZrCq8SYtmn9SKlBg4UfKnMa3Kzbv1fbHGPgyvaV 35U1oOnABxFMqKFCdgYJN1JNeWnEpUjKt0ozwnKyqSxuxzToIb5/B33RlZkRag== ARC-Seal: i=1; s=201903; d=dkim.mimecast.com; t=1585343617; a=rsa-sha256; cv=none; b=UrN3X7kZ5r0rUZYaQ0g6dOJCryF+x15X4A4HKiAy2SYJyQuHwOKXqx86BNQ/xdoIBItCqk jFikw0dOngsf8/OHC/Q+deyGNkhR9ZFcAJ3bxF1hRMT/3FvuCiM8Ux9gBSpGX1A+vbK4WY 5MddmTxueje8RFhVNBAZNqytKyDH4Rgn7nFD9+mQWbKXDecGFjkiONnASVV+tOjIq8lm/2 Q5sAHLYKu26xgC87LBILIu85pDiFWasdlIcKQUXh9AN5W8ov213s1B4SsyB0zsJh1S9da8 SKSFd/8a9PMhylI4728yb+aanLNWB0phgzCBsconnv7EN41iG8wp+neELWsGug== ARC-Authentication-Results: i=1; relay.mimecast.com; dkim=none; dmarc=none; spf=none (relay.mimecast.com: domain of robh@apearl.net has no SPF policy when checking 193.254.210.60) smtp.mailfrom=robh@apearl.net Received: from bilbo.visn.co.uk (bilbo.visn.co.uk [193.254.210.60]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-404-QB0R5c4uPt2iL2gBH6pVEQ-1; Fri, 27 Mar 2020 17:13:35 -0400 X-MC-Unique: QB0R5c4uPt2iL2gBH6pVEQ-1 Received: from cpc121376-wals12-2-0-cust281.16-1.cable.virginm.net ([77.100.81.26]:1109 helo=bobsh23aug09) by bilbo.visn.co.uk with esmtpa (Exim 4.93) (envelope-from ) id 1jHwIG-00A7TP-Gv for blinux-list@redhat.com; Fri, 27 Mar 2020 21:13:33 +0000 Message-ID: <6E7CE5B42BCA4755BDC5CF7210633D62@bobsh23aug09> To: References: Subject: Re: Convert unwrapped paragraphs to hard wrapped paragraphs when there'sno blank lines. Date: Fri, 27 Mar 2020 21:13:35 -0000 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bilbo.visn.co.uk X-AntiAbuse: Original Domain - redhat.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - apearl.net X-Get-Message-Sender-Via: bilbo.visn.co.uk: authenticated_id: robh+apearl.net/only user confirmed/virtual account not confirmed X-Authenticated-Sender: bilbo.visn.co.uk: robh@apearl.net X-Source: X-Source-Args: X-Source-Dir: Authentication-Results: relay.mimecast.com; dkim=none; dmarc=none; spf=none (relay.mimecast.com: domain of robh@apearl.net has no SPF policy when checking 193.254.210.60) smtp.mailfrom=robh@apearl.net X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists01.pubmisc.prod.ext.phx2.redhat.com id 02RLDfuq022448 X-loop: blinux-list@redhat.com From: Linux for blind general discussion X-BeenThere: blinux-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk Reply-To: blinux-list@redhat.com List-Id: Linux for blind general discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2020 21:13:43 -0000 Apache PHP server would do it, though would need to be coded. I used to love doing this and text-crunchers were my stock'in trade. But a long time ago now. But the functions are still there and it's not a difficult language to grasp. RobH. ----- Original Message ----- From: "Linux for blind general discussion" To: "Linux for blind general discussion" Sent: Friday, March 27, 2020 3:30 PM Subject: Convert unwrapped paragraphs to hard wrapped paragraphs when there'sno blank lines. Okay, this isn't strictly an accessibility question, but I can't think of any better place to ask and Google didn't help much. I occasionally purchase eBooks from Smash Words as they're the only eBook Store I know of that offers plain text along side the far too prevalent for my liking PDF, ePub, and Kindle formats. Problem is, their plain text eBooks are typically long enough Firefox and Orca simply choke on them and they have paragraphs that are unwrapped, which makes reading them with nano and SBL cumbersome. Normally, I'd just use nano's justify command to hard wrap thewhole file, but they lack blank lines between paragraphs, so Nano would think the whole book a single paragraph. So, does anyone know a way to automate inserting blank lines before and after each line in a file that's too long to fit on the screen all at once and then hard wrap those long lines? _______________________________________________ Blinux-list mailing list Blinux-list@redhat.com https://www.redhat.com/mailman/listinfo/blinux-list