Article View: news.software.readers
Article #113259Re: Dialog - Random Sigs
From: Dirk Steins
Date: Sat, 02 Nov 2002 11:22
Date: Sat, 02 Nov 2002 11:22
28 lines
2211 bytes
2211 bytes
On Sat, 2 Nov 2002 12:42:29 +1100, Lone Wolf wrote:
> On Sat, 02 Nov 2002 00:31:43 GMT, in message
> <12dql7ba9mn0f.dlg@tarkus.karnevil9.com>, Tarkus posted:
>
>> It means each sig needs to be separated by a line with nothing but % on
>> it. That way you can have sigs with multiple lines, and it knows where
>> the start and where the end of that sig is.
>
> Any utilities available to do this job? I have a tag line file with >3,000
> tags left over from Bat!, with each line needing the % delimiter added.
> Tedious to do manually.
So you have a file from The Bat! with every single line containing a unique
quote, i assume. You could do this by writing a small script in perl, awk,
or whatever you like. If you want to have it wrapped to 75 chars per line
it will be more work!
A simple command would be
awk '{print $0; print "%";}' filenamewithyouroneliners >randomsigs.txt
This worked for me using a simple test file. Of course you would need awk
to do this. It would be a oneline in perl also, i think.
HTH
Dirk
Technical Details
Message-ID:
<pmzl93pimc91$.9negx2mxkkhf$.dlg@40tude.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!eurocyber.net!newsfeed.muc.eurocyber.net!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mailReferences:
<a1xc84u6bt6x$.dlg@flatulantdingo.com> <12dql7ba9mn0f.dlg@tarkus.karnevil9.com> <2r5ymw5bpp29.dlg@flatulantdingo.com>Show Full Headers
Complete Article Headers
Message-ID: <pmzl93pimc91$.9negx2mxkkhf$.dlg@40tude.net> Subject: Re: Dialog - Random Sigs Date: Sat, 2 Nov 2002 12:22:12 +0100 From: Dirk Steins <dsteins@t-online.de> References: <a1xc84u6bt6x$.dlg@flatulantdingo.com> <12dql7ba9mn0f.dlg@tarkus.karnevil9.com> <2r5ymw5bpp29.dlg@flatulantdingo.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!eurocyber.net!newsfeed.muc.eurocyber.net!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail Newsgroups: news.software.readers Organization: T-Online Lines: 27 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: news.t-online.com 1036236136 03 8479 cRm+bfETSbDKw- 021102 11:22:16 X-Complaints-To: abuse@t-online.com X-Sender: 310084386885-0001@t-dialin.net User-Agent: 40tude_Dialog/2.0.2.1