Sam Trenholme's webpage
This article was posted to the Usenet group alt.hackers in 1995; any technical information is probably outdated.

Re: What is the problem with Finger?


Article: 7558 of alt.hackers
Newsgroups: alt.hackers
From: mikedlr@tardis.ed.ac.uk (Michael De La Rue)
Subject: Re: What is the problem with Finger?
Message-ID: 3l7gt7$e56@tardis.tardis.ed.ac.uk
Sender: cnews@dcs.ed.ac.uk (UseNet News Admin)
Reply-To: miked@ed.ac.uk
Organization: The Tardis Project
Date: Mon, 27 Mar 1995 23:14:47 GMT
Approved: the government and people of the world plus everyone else and all
the aliens and everybody.. in fact so approved that noone could possibly
argue at all
Lines: 30
Status: RO

In article <3l526t$pru@nunki.usc.edu>,
Patrick Killourhy <killourh@nunki.usc.edu> wrote:
> [stuff]
> but I can't imagine you'd have
>any trouble ftp'ing and compiling your own finger client...
>

oh hell.. I'll bite.

Obhack:-

writing a finger client in 5 lines of shell script for a machine which
had none.. I've lost it because they weren't being malicious, just
hadn't got round to it yet....but how about

for i in $@; do
eval NAME=`echo $i | sed 's/@.*//'`; eval HOST=`echo $i | sed 's/.*@//'`
if [ "$NAME" = "$HOST" ]; then finger $NAME; else
             echo $NAME | telnet $HOST finger; fi
done

oh, okay it's a bit sqeezed in five lines.. I'm sure it could be
shorter...



		<http://www.ed.ac.uk/~p91152/biography.html>
Edinburgh Climbing Info Maintainer:
<http://www.ed.ac.uk/~p91152/climbing/>
Linux/Unix clone@ftp://src.doc.ic.ac.uk/packages/linux/sunsite.unc-mirror/docs/




Parent Parent Parent

Back to index