🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Convertir retorno de carro

#14540
From: Oscar Manuel
Date: Thu, 26 Oct 2000 21:52
29 lines
1938 bytes
"J.A. Gutierrez" wrote:
> 
> Oscar Manuel <oscar@omgs.es> wrote:
> : Tengo que convertir un fichero con la extensión .ppd de postcript que
> : tiene el retorno de carro al estilo macintosh al estilo unix (para poder
> : usarlo con netatalk). Creo que es con recode, pero no doy con la opción
> : adecuada. Si no fuera así o alguien sabe si existe algún software para
> : esto o algún script que lo haga, me solucionaría un problema.
> 
> alias frommac="tr '\015' '\012'"
> alias tomac="tr '\012' '\015'"
> alias fromdos="tr -d '\015'"
> alias todos='awk "{printf(\"%s\r\n\",\$0)}"'

Gracias a ambos. Mañana lo pruebo.

-- 
|----------------------------------------------------------------------|
| http://counter.li.org info: Linux user: 92390 - Linux machine: 39301 |
|     Oscar Manuel Gómez Senovilla - mailto:omgs@BORRARfindhere.com    |
|----------------------------------------------------------------------|
Technical Details
Message-ID: <39F8A7A2.9F4BA197@omgs.es>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!130.133.1.3!fu-berlin.de!newsfeed.bcn.ttd.net!news.mad.ttd.net!oscar.omgs.es!not-for-mail
References: <39F75512.1C40E78D@omgs.es> <8t9l6f$vpp$1@news.unizar.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,aa33ff66cb8cdda
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2000-10-28 14:39:08 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!130.133.1.3!fu-berlin.de!newsfeed.bcn.ttd.net!news.mad.ttd.net!oscar.omgs.es!not-for-mail
From: Oscar Manuel <oscar@omgs.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Convertir retorno de carro
Date: Thu, 26 Oct 2000 23:52:34 +0200
Organization: Estoy harto de spammers
Lines: 29
Message-ID: <39F8A7A2.9F4BA197@omgs.es>
References: <39F75512.1C40E78D@omgs.es> <8t9l6f$vpp$1@news.unizar.es>
NNTP-Posting-Host: 206223.rad.bbv.es
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: oscar.omgs.es 972597154 1290 192.168.0.10 (26 Oct 2000 21:52:34 GMT)
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.16 i586)
X-Accept-Language: es