rww@usl.UUCP (Robert W. Walsh) (04/16/85)
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. Does anybody know where to find it? -- Robert Walsh ut-sally \ University of Southwestern Louisiana !usl!rww akgua /
karl@mtu.UUCP (Karl Ottenstein) (04/20/85)
> > 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. Does anybody > know where to find it? Look at /usr/lib/crontab to find the entry causing the files to be deleted. Files with a '#' prefix are temporaries created by Pascal (on BSD systems). Whether anything else creates '#' files and why they aren't just placed in /tmp, I don't know. -- Karl Ottenstein Michigan Technological University uucp: {lanl, ihnp4, glacier}!mtu!karl arpa/csnet: karl%mtu@csnet-relay
rogers%albany.csnet@CSNET-RELAY.ARPA (Prof. Alan Rogers) (04/23/85)
> 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. Does anybody >know where to find it? It's on page 3 of "Introduction to the C Shell", by Bill Joy. (Unix Programmer's Manual, Volume 2C) Alan Rogers <rogers%albany@csnet-relay>
neal@denelvx.UUCP (Neal Weidenhofer) (04/23/85)
> > > > 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. Does anybody > > know where to find it? > > Look at /usr/lib/crontab to find the entry causing the files to be deleted. > Files with a '#' prefix are temporaries created by Pascal (on BSD systems). > Whether anything else creates '#' files and why they aren't just placed in /tmp, > I don't know. > -- > > Karl Ottenstein > Michigan Technological University > uucp: {lanl, ihnp4, glacier}!mtu!karl > arpa/csnet: karl%mtu@csnet-relay These files aren't deleted on our system (for which I'm grateful) because emacs uses #<filename> to backup your file when you start editing and ##<filename> to checkpoint it. Regards, Neal Weidenhofer "Blame it on the Rolling Denelcor, Inc. Stones" <hao|csu-cs|brl-bmd>!denelcor!neal
fred@wcom.UUCP (Fred Falk ) (04/26/85)
> > 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. Does anybody > >know where to find it? > > It's on page 3 of "Introduction to the C Shell", by Bill Joy. (Unix > Programmer's Manual, Volume 2C) > > Alan Rogers <rogers%albany@csnet-relay> It doesn't work with the version of the C-shell distributed with the IBM PC/AT version of Xenix, though. -- uucp: {vax135|ihnp4}!timeinc!wcom!fred ARPA: 1935@NJIT-EIES.MAILNET@MIT-MULTICS.ARPA
guy@sun.uucp (Guy Harris) (04/30/85)
> > > I recently found out that any filename begining with > > >'#' will be deleted upon logout. ... I haven't been able to > > > find this mentioned in any docuemtation.... > > >know where to find it? > > > > It's on page 3 of "Introduction to the C Shell"... > > It doesn't work with the version of the C-shell distributed with the > IBM PC/AT version of Xenix, though. That's because it has nothing to do with the C shell. 4.2BSD comes with an entry in "crontab" which cleans out files beginning with "#" every night (not upon logout; the C shell tutorial we have here says "The system removes such failes after a couple of days, or sooner if file space becomes very tight."). I presume Xenix doesn't have this crontab entry. If you want this to work, just stick 40 4 * * * find / '(' -name '#*' -o -name '*.CKP' ')' -a -atime +3 -a -exec rm -f {} ';' into "crontab" (the ".CKP" stuff is for the benefit of EMACS users). Guy Harris