Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ucbvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!harpo!decvax!ucbvax!agb From: agb@ucbvax.UUCP (Alexander G. Burchell) Newsgroups: net.rumor Subject: Re: origins of dsw Message-ID: <555@ucbvax.UUCP> Date: Thu, 3-May-84 01:45:12 EDT Article-I.D.: ucbvax.555 Posted: Thu May 3 01:45:12 1984 Date-Received: Fri, 4-May-84 03:48:57 EDT References: <3479@yale-comix.UUCP> <2168@ihuxf.UUCP> Subject: Re: origins of dsw <238@edsel.UUCP>, <223@hlwpg.UURe: origins of dsw Organization: U.C. Berkeley Lines: 51 The final answer to dsw (seen on the net a while ago): >From research!dmr Wed Aug 12 00:02:17 1981 Subject: dsw manual page (honest) DSW(1) UNIX Programmer's Manual DSW(1) NAME dsw - delete from switches SYNOPSIS (put number in console switches) dsw core DESCRIPTION _d_s_w 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 _c_o_r_e. If this core file is executed, the file whose name was last printed is unlinked (see _u_n_l_i_n_k(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 _r_m(1). The name is mnemonic, but likely to cause trouble in the future. Printed 8/11/81 PDP-7 local 1 -- Alexander Burchell [agb@ucbarpa] [ucbvax!agb]