🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #15999

Re: ECOLP crappy code competition?

#15999
From: J.A. Gutierrez
Date: Fri, 19 May 2000 00:00
36 lines
2077 bytes
Manuel L�pez Moreno <luname@linuxfan.com> wrote:


: 	$ man man | tail +109 | head -5 |
: 	> tr -d "\b" -s "[:print:]"

:  -t Use /usr/bin/grof -Tps -mandoc to format the man�
:  ual page, pasing the output to stdout. The output
:  from /usr/bin/grof -Tps -mandoc may ned to be
:  pased through some filter or another before being
:  printed.

: �Alguien se anima? :-)

$ man man | col -b | tail +109 | head -5 
       -t     Use  /usr/bin/groff -Tps -mandoc to format the man
              ual page, passing the output to stdout.  The output
              from  /usr/bin/groff  -Tps  -mandoc  may need to be
              passed through some filter or another before  being
              printed.


	no era tan dificil, el propio "col -b" se nombra en `man man`:

$ man man | col -b | tail -21 | head -4
       To  get  a  plain  text  version  of  a  man page, without
       backspaces and underscores, try

         # man foo | col -b > foo.mantxt


-- 
PGP and other useless info at      \                 Oh, show us the way
http://www.cps.unizar.es/~spd/      \             to the next whisky bar
finger://daphne.cps.unizar.es/spd    \                      Weill/Bretch
es doloroso ser sabio y descubrir la sopa de ajo                   (Pla)
Technical Details
Message-ID: <8g3rl2$njb$2@news.unizar.es>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <slrn8i8ndi.pa.nop@compiler.linux.es> <slrn8iamvd.12q.luname@mantium.luname.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f86c8,b330975e38ed05b0
X-Google-Attributes: gidf86c8,public
From: "J.A. Gutierrez" <spd@daphne.cps.unizar.es>
Subject: Re: ECOLP crappy code competition?
Date: 2000/05/19
Message-ID: <8g3rl2$njb$2@news.unizar.es>
X-Deja-AN: 625472343
Content-Transfer-Encoding: 8bit
References: <slrn8i8ndi.pa.nop@compiler.linux.es> <slrn8iamvd.12q.luname@mantium.luname.net>
Content-Type: text/plain; charset=ISO-8859-1
X-Complaints-To: usenet@news.unizar.es
X-Trace: news.unizar.es 958755298 24171 155.210.152.20 (19 May 2000 16:54:58 GMT)
Organization: Rank
Mime-Version: 1.0
User-Agent: tin/1.4.1-19991201 ("Polish") (UNIX) (IRIX/6.2 (IP22))
NNTP-Posting-Date: 19 May 2000 16:54:58 GMT
Newsgroups: es.comp.os.linux.programacion