🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ch.comp.os.linux
Article #18191

Re: Zeile einfuegen mit sed?

#18191
From: Sven Kirmess
Date: Tue, 04 Apr 2000 00:00
14 lines
1002 bytes
In article <954796871.1517433337@localhost>,
Joerg Hau <joerg.hau@swissonline.ch> wrote:

> psbook in.ps | psnup -2 | sed_with_my_cmd > out.ps

psbook in.ps | psnup -2 | perl -e '$c=1; while (<>) { print $_; $c++; if
($c == 2) { print "<</Duplex true /Tumble true>> setpagedevice\n"; } }'
> out.ps

--


Sent via Deja.com http://www.deja.com/
Before you buy.
Technical Details
Message-ID: <8ccr1s$r5n$1@nnrp1.deja.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <954796871.1517433337@localhost>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f4b73,b57b42e050d44d28
X-Google-Attributes: gidf4b73,public
From: Sven Kirmess <sven.kirmess@gmx.net>
Subject: Re: Zeile einfuegen mit sed?
Date: 2000/04/04
Message-ID: <8ccr1s$r5n$1@nnrp1.deja.com>
X-Deja-AN: 606544259
References: <954796871.1517433337@localhost>
X-Http-Proxy: 1.0 x23.deja.com:80 (Squid/1.1.22) for client 157.161.150.1
Organization: Deja.com - Before you buy.
X-Article-Creation-Date: Tue Apr 04 13:34:53 2000 GMT
X-MyDeja-Info: XMYDJUIDkirmess
Newsgroups: ch.comp.os.linux
X-Http-User-Agent: Mozilla/4.7 [en] (X11; I; SunOS 5.7 sun4u)