Aucbvax.4031
fa.unix-wizards
utzoo!decvax!ucbvax!unix-wizards
Thu Sep 24 22:57:57 1981
Random question from BH@MIT
>From decvax!yale-comix!mp@Berkeley Thu Sep 24 15:09:15 1981
We have a modified version of csh which attempts to provide TOPS-20 like
recognition features.  Since the changes are all in the lexer input logic,
it has been easy to further modify it to set an environment variable to
the command line.  This could possibly help the programs ask the user if
he really wants to do something like `rm *' or `cat * >> x.c'.  For `rm'
alone, however, there is an easier solution, originally due, I think, to
John Ellis at Yale -
       alias rm 'cp !* ~/deleted/!* ; rm !*'
       alias unrm 'mv ~/deleted/!* !*'
plus have the .logout file contain the line 'rm ~/deleted/*'
Of course, this solution assumes the shell has aliasing.

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.