🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #22060

Re: Random .sigs

#22060
From: Rob Funk
Date: Sat, 25 May 1996 00:00
33 lines
1627 bytes
In article <4nvkgi$n80@decaxp.HARVARD.EDU>,
Drew <aglazier@fas.HARVARD.EDU> wrote:
>Alternatively, is there any easy way of switching among a few different
>signatures every time I source .cshrc, or something similar?
>I've seen a couple of programs to do this, but I don't have 
>easy access to a C compiler, is there any shell script out there
>that would accomplish the same thing?

I use this to switch between two different .signatures.

#!/bin/sh
#
# altsig - alternate two files as .signature

if cmp -s .signature .signature-1
then
#	echo same
	rm -f .signature
	ln -s .signature-2 .signature
else
#	echo different
	rm -f .signature
	ln -s .signature-1 .signature
fi

-- 
------------- R o b  F u n k -------------|---------> funk+@osu.edu <---------
   "A microscope locked in on one point   |rfunk@magnus.acs.ohio-state.edu
Never sees what kind of room that it's in"|rfunk@freenet.columbus.oh.us
    -- Chris Mars, "Stuck in Rewind"  |http://er4www.eng.ohio-state.edu/~funkr

Technical Details
Message-ID: <4o6bmb$ne@ts26-6.homenet.ohio-state.edu>
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!not-for-mail
References: <4nvkgi$n80@decaxp.HARVARD.EDU>

Show Full Headers
Complete Article Headers
Message-ID: <4o6bmb$ne@ts26-6.homenet.ohio-state.edu>
Subject: Re: Random .sigs
Date: Sat, 25 May 1996 00:00:00 +0000
From: rfunk@ts26-6.homenet.ohio-state.edu (Rob Funk)
References: <4nvkgi$n80@decaxp.HARVARD.EDU>
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!not-for-mail
X-Deja-AN: 156665385
Organization: A Red Hat Commercial Linux Site
Reply-to: rfunk@magnus.acs.ohio-state.edu
Newsgroups: news.software.readers