// COMPLETE THREAD

Basic Unix Hacking

2 expanded posts ยท every known parent and child

NODE bd5a01ebBasic Unix Hacking
Is there a way to get a .plan file to execute shell script when
it is read by finger??

I'm sure this is an old question, but it seems there must
be a way.

echo \"date\"  or some damn thing that will execute as opposed
to printing.


The fingerD I am working with does not seem to call
a .fingerrc file.

-Chris



..    But there *are* a million monkeys on the net,
..    and I still aint seen no Shakespeare!             <me>
...
...    smtp: nozefngr@apple.com
..     page: 1.800.680.7351
..     http: http://virtual.net/Personal/nozefngr/
..     icbm: lat37*21'.lon121*5'
..
..  the kabuki project: http://remarque.berkeley.edu/kabuki/
NODE c4246e55Re: Basic Unix Hacking
CTH wrote:
> Is there a way to get a .plan file to execute shell script when
> it is read by finger??
> 
> I'm sure this is an old question, but it seems there must
> be a way.
> 
> echo \"date\"  or some damn thing that will execute as opposed
> to printing.

use a named pipe for your plan: 

$ cd $HOME
$ /bin/mv -f .plan .plan.old
$ mknod .plan p
$ (date > .plan) &
$ finger `whoami`@0

or use "masterplan" program available from the net.

But IMHO, all this activity is a WASTE of time.