Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 9 Nov 1996.
REQ: .sig changer for UNIX

REQ: .sig changer for UNIX

Hi All!

I'm looking for hints on how to make a .sig changer script for UNIX. I'm
working in C and Korn shells, so a script working under either shell can
work. Basicly, I'd like the script to change my script every time I log in
(Or even better, randomly change every time I post an article/email a
message). I haven't found any FAQ's on this...

I know this sounds like a job for PERL, and I actually do have the
'sigrandom' PERL program, but I know very little of the language (But I'm
learning), and cannot figure out how to get it to work on my system.

So, does anyone have any hints suggestions on making a script. Here's the
only version I can get to work... any hints or suggegstions would be
appreciated.

cp $HOME/.sig/sig8 $HOME/.signature
cp $HOME/.sig/sig7 $HOME/.sig/sig8
cp $HOME/.sig/sig6 $HOME/.sig/sig7
cp $HOME/.sig/sig5 $HOME/.sig/sig6
cp $HOME/.sig/sig4 $HOME/.sig/sig5
cp $HOME/.sig/sig3 $HOME/.sig/sig4
cp $HOME/.sig/sig2 $HOME/.sig/sig3
cp $HOME/.sig/sig1 $HOME/.sig/sig2
cp $HOME/.signature $HOME/.sig/sig1

Rudementary, but it works. Basically... I have 8 files named sig1-sig8 in
a directory named .sig. I want a different file to be copied as
$HOME/.signature every time I log in.


|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| Stefan Lasiewski                      >>>CONTENTS UNDER PRESSURE<<<	|
| gan...@rahul.net                         >>>DO NOT PUNCTURE<<<	|
| http://www.rahul.net/gangrel          	 			|
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- 
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| Stefan Lasiewski                      >>>CONTENTS UNDER PRESSURE<<<	|
| gan...@rahul.net                         >>>DO NOT PUNCTURE<<<	|
| http://www.rahul.net/gangrel          	 			|

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,fe142cf911d2683e,start
X-Google-Attributes: gidf996b,public
From: Stefan Alexei Lasiewski <gan...@rahul.net>
Subject: REQ: .sig changer for UNIX
Date: 1996/11/09
Message-ID: <560rm3$o9...@bug.rahul.net>#1/1
X-Deja-AN: 195452386
distribution: world
organization: a2i network
nntp-posting-user: gangrel
newsgroups: alt.ascii-art
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 1996 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post