From owner-freebsd-questions@FreeBSD.ORG Tue Jun 12 19:38:29 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C7F41065670 for ; Tue, 12 Jun 2012 19:38:29 +0000 (UTC) (envelope-from pwnedomina@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8521D8FC17 for ; Tue, 12 Jun 2012 19:38:28 +0000 (UTC) Received: by eabm6 with SMTP id m6so924543eab.13 for ; Tue, 12 Jun 2012 12:38:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=+OxRspuU/SBGXYodiZASN3KXnF0bQBE+AIephmcz/yc=; b=KnZ0IaExcm3D0Hy0qfsAazNJOHayAF11pzxjkP6MKuW/VTR9x3buZK7cSOaPGNzHwt 7T7+aTOhyHJIuHqdAyPmbCORcws2um03ORSJln6sWrf9e2yUAAgvCN6Hiqpjf0kHpkgR pO7LiKEzQAQFI/kK2Oo90xkWRFfJCvjRUvwGzLIWYDlNuA70Cz5jwrF4ZD39LxaXw/uF t6y3+V46ZrsmodakryryA4LynhvP90BmtpHrxj4QNwRB9l1h9J2xtNEpQwPrNQ084Z5C mdnaNfpKaCcwBYuuPpRThSvrvqXoKYyIA15MRp6ZGUkTCGBBv+RIiLdPT8NYRby8OvmS Klew== Received: by 10.14.189.7 with SMTP id b7mr6725970een.126.1339529907590; Tue, 12 Jun 2012 12:38:27 -0700 (PDT) Received: from [192.168.1.71] (bl19-184-171.dsl.telepac.pt. [2.80.184.171]) by mx.google.com with ESMTPS id m5sm67730107eeh.17.2012.06.12.12.38.24 (version=SSLv3 cipher=OTHER); Tue, 12 Jun 2012 12:38:26 -0700 (PDT) Message-ID: <4FD7A937.5030607@gmail.com> Date: Tue, 12 Jun 2012 20:40:23 +0000 From: pwnedomina User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Polytropon References: <4C067C55-8320-4D12-A312-F8E2CC699B01@gmail.com> <4FD6A057.2070101@gmail.com> <20120612054431.b630e37a.freebsd@edvax.de> <7F5F7609-DB36-4E37-9196-92B797732C1D@gmail.com> <20120612102200.f5d0b981.freebsd@edvax.de> In-Reply-To: <20120612102200.f5d0b981.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: text format X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2012 19:38:29 -0000 On 12-06-2012 08:22, Polytropon wrote: > On Tue, 12 Jun 2012 09:06:07 +0100, i pwn wrote: >> on groff i've used this cmd to format the text >> groff -Tascii< normal.txt | sed 's/^/ /'$1> formatted.txt >> on nroff what would be the cmd? > Depending on your input data, I'd say the same command: > groff -Tascii< normal.txt> formatted.txt. But you need > to test this yourself with your input text format. > > See "man nroff" for details. > > For using roff macros, "man 7 mdoc" has a nice summary. > > > im only asking what cmd should i use to format an ascii text to be identical to that one, centered and aligned..