Path: utzoo!mnetor!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!rutgers!rochester!cornell!batcomputer!itsgw!nysernic!cmx!jerryp From: jerryp@cmx.npac.syr.edu (Jerry Peek) Newsgroups: comp.os.minix Subject: Re: Public Domain version of: yes(1) Message-ID: <338@cmx.npac.syr.edu> Date: 10 Apr 88 16:48:18 GMT References: <26369@amdahl.uts.amdahl.com> <2561@bsu-cs.UUCP> Reply-To: jerryp@cmx.npac.syr.edu (Jerry Peek) Organization: Northeast Parallel Architectures Center, Syracuse NY Lines: 23 Keywords: Free Software [Sorry if this is the wrong newsgroup; I don't see an "alt.sources.d"...] In article <2561@bsu-cs.UUCP> dhesi@bsu-cs.UUCP (Rahul Dhesi) writes: > As you all know, some UNIX users alias "rm" to "rm -i", even though > this is unwise. > > Once you alias "rm" to "rm -i", deleting files becomes a hassle. So > you can now do > > rm < yes > > to delete specified files without having to type y for each file. He means yes | rm filenames... Rahul's example would make the "rm" command read its answers from a *file* named "yes" (not the *command*). --Jerry Peek, Northeast Parallel Architectures Center, Syracuse, NY jerryp@amax.npac.syr.edu (315)423-1722