Auto-removal of #filename

Seth H Zirin seth at megad.UUCP
Wed Apr 24 01:23:30 AEST 1985


> Robert Walsh of USL writes:
> ---------------------------
> 	I recently found out that any filename begining with
> '#' will be deleted upon logout.  I tried it, and, sure enough, it works.
> I haven't been able to find this mentioned in any docuemtation.

I've never seen this service provided in the vanilla version of any of the
following editions of Unix: 

		V[67], 4.[12]BSD, SIII, SV.[12]

If you have the seashell (csh) you can "do it yourself" by putting the following
line in your $HOME/.logout file:

		find $HOME -name '#*' -exec /bin/rm -f '{}' ';'

-- 
-------------------------------------------------------------------------------
Name:	Seth H Zirin
USmail:	Megadata Corp. 35 Orville Dr., Bohemia, NY 11716
Phone:	516-589-6800 (M-F 9-5 EST)
UUCP:	{decvax, ihnp4}!philabs!sbcs!megad!seth

Keeper of the News for megad



More information about the Comp.unix mailing list