Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 17 Dec 1994.
Re: Anyway to randomize sig files?

Re: Anyway to randomize sig files?

Note cross posting.

In article <3csckl$br...@lastactionhero.rs.itd.umich.edu>,
kna...@cochrane.bus.umich.edu (Kent Stefl Nassen) writes:
>>*] >        Can someone tell me if there is a way to randomize sig files?
>Here is a perl script I grabbed from somewhere.  It was originally set
>up to put random one-line quotes in your .sig, but I modified it to
>just randomize a group of .sig files.  Very simple.  I use it with pine
>by aliasing pine to 'randsig; pine'.  Then, whenever pine is run, you
>will get a random sig.  You can use the same aliasing trick for other
>programs, assuming your shell allows aliases.

	#!/location/of/perl
	
	$home = "/your/home/directory";
	srand(time|$$);
	@files = <$home/sigs/*>;
	$this = $files[rand(@files)];
	
	`cp $this $home/.signature`;
	
Anybody either have or can quickly modify this to
be more friendly to the inode-imparied? My site has the
absurd idea that I should only have 800 files. At this
moment I am about 100 away from the limit. Lots of extra
files will not help. Putting all the files in a cpio or
ar archive would be great. Creating a new file format for
this is fine as well.

Elijah
------
has yet to learn perl

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,1bf4e46a52a72b7b
X-Google-Attributes: gidf996b,public
X-Google-Thread: 1012a6,29a923fbbd8ba89c,start
X-Google-Attributes: gid1012a6,public
X-Google-ArrivalTime: 1994-12-17 12:53:09 PST
Path: nntp.gmd.de!dearn!blekul11!idefix.CS.kuleuven.ac.be!ub4b!EU.net!Germany.EU.net!
 howland.reston.ans.net!gatech!rutgers!mcrcr6!cmcl2!newsserv.cs.sunysb.edu!adam.cc.sunysb.edu!bgriffin
Newsgroups: alt.ascii-art,comp.unix.shell
Subject: Re: Anyway to randomize sig files?
Message-ID: <3cv671$sn...@adam.cc.sunysb.edu>
From: bgr...@ic.sunysb.edu (Eli the bearded)
Date: 17 Dec 1994 17:13:05 GMT
References: <345...@student.msu.edu>
 <3cppfl$mc...@cronkite.seas.gwu.edu> <3csckl$br...@lastactionhero.rs.itd.umich.edu>
Organization: gnat tang does a body good
NNTP-Posting-Host: csws11.ic.sunysb.edu
XGrepFood: My spleen has a Cantor and Siegel green card -- NSA series.
XDisclaimed: It wasn't my spleen that spray painted "sabatage is sex"
XDisclaimed2: on your car officer, honest. My spleen doesn't have hands.
Lines: 32
Xref: nntp.gmd.de alt.ascii-art:18170 comp.unix.shell:17840

Related ASCII art in the Gallery

Explore these categories from our collection of 11,000+ artworks:

About this message. This message was posted publicly to the newsgroup alt.ascii-art in 1994 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