[comp.unix.misc] File remove command?

davidsen@crdos1.crd.ge.COM (Wm E Davidsen Jr) (06/14/91)

Has anyone written a remove command which will unlink all links to a
file inode when the command is issued on any one name? Yes I know it's
dangerous, but there are times when I want certain data unconditionally
off my system.

Example:
  $ mkdir foo
  $ cd foo
  $ date >x1
  $ ln x1 x2
  $ remove x1	# this is the one
  $ ls
  $
-- 
bill davidsen	(davidsen@crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen)
        "Most of the VAX instructions are in microcode,
         but halt and no-op are in hardware for efficiency"