Path: utzoo!utgpu!water!watmath!clyde!cbosgd!osu-cis!tut!lvc From: lvc@tut.cis.ohio-state.edu (Lawrence V. Cipriani) Newsgroups: comp.unix.wizards Subject: Re: a ksh script for safe removal Summary: forget it Keywords: globbing Message-ID: <3153@tut.cis.ohio-state.edu> Date: 12 Dec 87 22:25:05 GMT References: <3150@tut.cis.ohio-state.edu> Organization: Ohio State Computer & Info Science Lines: 17 In article <3150@tut.cis.ohio-state.edu> I wrote: > # This function checks if the arguments to it contain shell > # wildcards. If so, it asks the user if they really want to > # proceed to remove their files named. If there are not wild > # cards it just proceeds to remove them. > [buggy function removed] This doesn't work and can't work. The set -o noglob command inside a function doesn't work the way I thought it would. The reason I thought I had it right had to do with the "set"tings on my login shell. Sigh. -- Larry Cipriani AT&T Network Systems at cbosgd!osu-cis!tut!lvc Ohio State University