Re: text format

2012-06-12 Thread Polytropon
; >>> 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 >

Re: text format

2012-06-12 Thread Lars Eighner
d? 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

Re: text format

2012-06-12 Thread Edward M
On 06/12/2012 02:01 PM, Edward M wrote: On 06/12/2012 01:40 PM, pwnedomina wrote: to format an ascii text to be identical to that one, centered and aligned.. would not that require the use of HTML? Oops... just dawn on me you may be trying to print an ascii file and may not be trying

Re: text format

2012-06-12 Thread Edward M
On 06/12/2012 01:40 PM, pwnedomina wrote: to format an ascii text to be identical to that one, centered and aligned.. would not that require the use of HTML? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: text format

2012-06-12 Thread Matthew Seaman
On 12/06/2012 21:11, Robert Bonomi wrote: >> im only asking what cmd should i use to format an ascii text to be >> > identical to that one, centered and aligned.. > There *ISN'T* any simple command-line tool that will do what you want, > all "automatically". I dunno. 'fmt -c' looks pretty close

Re: text format

2012-06-12 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org Tue Jun 12 14:39:59 2012 > Date: Tue, 12 Jun 2012 20:40:23 + > From: pwnedomina > To: Polytropon > Cc: freebsd-questions@freebsd.org > Subject: Re: text format > > On 12-06-2012 08:22, Polytropon wrote: > > On Tue, 12

Re: text format

2012-06-12 Thread pwnedomina
ay 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 a

Re: text format

2012-06-12 Thread Polytropon
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. -- Polytropon Magdeburg,

Re: text format

2012-06-12 Thread i pwn
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? On Jun 12, 2012, at 4:44 AM, Polytropon wrote: On Tue, 12 Jun 2012 01:50:15 +, pwnedomina wrote: On 11-06-2012 23:40, Alejandro Imass wrote: On M

Re: text format

2012-06-11 Thread Polytropon
On Tue, 12 Jun 2012 01:50:15 +, pwnedomina wrote: > On 11-06-2012 23:40, Alejandro Imass wrote: > > On Mon, Jun 11, 2012 at 5:57 PM, i pwn wrote: > >> hi, sometime ago i asked a question about how to format a text, some people > >> told me to use groff, but i would like to know how was file >

Re: text format

2012-06-11 Thread pwnedomina
On 11-06-2012 23:40, Alejandro Imass wrote: On Mon, Jun 11, 2012 at 5:57 PM, i pwn wrote: hi, sometime ago i asked a question about how to format a text, some people told me to use groff, but i would like to know how was file http://ipwn.altervista.org/files/Stoll,%20Clifford%20-%20The%20Cuckoo

Re: text format

2012-06-11 Thread Robert Bonomi
"i pwn" wrote: > > hi, sometime ago i asked a question about how to format a text, some > people told me to use groff, but i would like to know how was file > http://ipwn.altervista.org/files/Stoll,%20Clifford%20-%20The%20Cuckoo%27s%20Egg.txt > > fomatted. > thanks in advance. >From the ou

Re: text format

2012-06-11 Thread Alejandro Imass
On Mon, Jun 11, 2012 at 5:57 PM, i pwn wrote: > hi, sometime ago i asked a question about how to format a text, some people > told me to use groff, but i would like to know how was file > http://ipwn.altervista.org/files/Stoll,%20Clifford%20-%20The%20Cuckoo%27s%20Egg.txt > fomatted. > thanks in ad

text format

2012-06-11 Thread i pwn
hi, sometime ago i asked a question about how to format a text, some people told me to use groff, but i would like to know how was file http://ipwn.altervista.org/files/Stoll,%20Clifford%20-%20The%20Cuckoo%27s%20Egg.txt fomatted. thanks in advance. --- JID:ipwn#cih.ms HP:ipwn.altervista.org

Re: ascii text format

2008-11-21 Thread Daniel Molina Wegener
pwn escribió: algouth this is not a freebsd specific text, i need to format some texts under freebsd for they appear in the center of the page when opened in a browser, but i dont want to use HTML for format them, i just want to add tabulation to my *.txt. what software/tool can i use for forma

Re: ascii text format

2008-11-21 Thread Matthias Apitz
El día Friday, November 21, 2008 a las 03:53:09PM +, pwn escribió: > Jonathan McKeown wrote: > >On Friday 21 November 2008 12:49:16 pwn wrote: > > > >>algouth this is not a freebsd specific text, i need to format some texts > >>under freebsd for they appear in the center of the page when ope

Re: ascii text format

2008-11-21 Thread Giorgos Keramidas
On Fri, 21 Nov 2008 15:53:09 +, pwn <[EMAIL PROTECTED]> wrote: > yes, i want that the text appears displayed such as manpages like, how > can i accomplish this task? The manpages are written in groff. More specifically, they are written in a format that may be formatted by the `mdoc' macros o

Re: ascii text format

2008-11-21 Thread Giorgos Keramidas
On Fri, 21 Nov 2008 10:49:16 +, pwn <[EMAIL PROTECTED]> wrote: > algouth this is not a freebsd specific text, i need to format some texts > under freebsd for they appear in the center of the page when opened in a > browser, but i dont want to use HTML for format them, i just want to add > tabul

Re: ascii text format

2008-11-21 Thread Mel
On Friday 21 November 2008 16:53:09 pwn wrote: > Jonathan McKeown wrote: > > On Friday 21 November 2008 12:49:16 pwn wrote: > >> algouth this is not a freebsd specific text, i need to format some texts > >> under freebsd for they appear in the center of the page when opened in a > >> browser, but i

Re: ascii text format

2008-11-21 Thread pwn
Jonathan McKeown wrote: On Friday 21 November 2008 12:49:16 pwn wrote: algouth this is not a freebsd specific text, i need to format some texts under freebsd for they appear in the center of the page when opened in a browser, but i dont want to use HTML for format them, i just want to add tab

Re: ascii text format

2008-11-21 Thread Jonathan McKeown
On Friday 21 November 2008 12:49:16 pwn wrote: > algouth this is not a freebsd specific text, i need to format some texts > under freebsd for they appear in the center of the page when opened in a > browser, but i dont want to use HTML for format them, i just want to add > tabulation to my *.txt. >

Re: ascii text format

2008-11-21 Thread Polytropon
On Fri, 21 Nov 2008 10:49:16 +, pwn <[EMAIL PROTECTED]> wrote: > what software/tool can i use for format my *.txt? there is command on > VIM like "set textwidth" but this is not suitable for me. any help i > appreciate. Judging from your example text, what you're searching for is a tool to f

ascii text format

2008-11-21 Thread pwn
algouth this is not a freebsd specific text, i need to format some texts under freebsd for they appear in the center of the page when opened in a browser, but i dont want to use HTML for format them, i just want to add tabulation to my *.txt. what software/tool can i use for format my *.txt? the