[Gllug] a more intelligent shell

David Damerell damerell at chiark.greenend.org.uk
Mon May 15 10:37:05 UTC 2006


On Monday, 15 May 2006, Bruce Richardson wrote:
>A much safer approach than having a blacklist of dangerous commands
>would be to have a whitelist of safe commands that could be included in
>corrections.

ls is safe, right? So "<something> |xargs rm" can be corrected to "ls
| xargs rm". I can't see this working...

-- 
David Damerell <damerell at chiark.greenend.org.uk> flcl?
Today is Second Sunday, May - a weekend.
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list