[csvax.mhtsa!eagle!research!dmr at Berkeley: 1970 dsw manual page (honest)]
utzoo!decvax!ucbvax!unix-wizards
utzoo!decvax!ucbvax!unix-wizards
Fri Aug 14 09:34:27 AEST 1981
>From Muuss at UTAH-20 Fri Aug 14 09:12:09 1981
I found this at Utah...
-Mike
---------------
Date: 13 Aug 1981 1431-MDT
From: csvax.mhtsa!eagle!research!dmr at Berkeley
Subject: 1970 dsw manual page (honest)
Remailed-date: 13 Aug 1981 1433-MDT
Remailed-from: Jay Lepreau <Lepreau>
Remailed-to: bboard
DSW(1) UNIX Programmer's Manual DSW(1)
NAME
dsw - delete from switches
SYNOPSIS
(put number in console switches)
dsw
core
DESCRIPTION
dsw reads the console switches to obtain a number n, prints
the name of the n-th file in the current directory, and
exits, leaving a core image file named core. If this core
file is executed, the file whose name was last printed is
unlinked (see unlink(2)).
The command is useful for deleting files whose names are
difficult to type.
SEE ALSO
rm(1), unlink(2)
BUGS
This command was written in 2 minutes to delete a particular
file that managed to get an 0200 bit in its name. It should
work by printing the name of each file in a specified direc-
tory and requesting a `y' or `n' answer. Better, it should
be an option of rm(1).
The name is mnemonic, but likely to cause trouble in the
future.
Printed 8/11/81 PDP-7 local 1
-------
---------------
-------
More information about the Comp.unix.wizards
mailing list