Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!usenet.stanford.edu!not-for-mail From: Andreas Schwab Newsgroups: gnu.bash.bug Subject: Re: -e does not take effects in subshell Date: Tue, 18 Aug 2015 23:10:17 +0200 Lines: 21 Approved: bug-bash@gnu.org Message-ID: References: <20150811135056.GD4309@eeg.ccf.org> <55CC26A7.10000@redhat.com> <55D39A71.2030109@tlinx.org> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: usenet.stanford.edu 1439932228 25944 208.118.235.17 (18 Aug 2015 21:10:28 GMT) X-Complaints-To: action@cs.stanford.edu Cc: PRC , Greg Wooledge , Eric Blake , "bug-bash@gnu.org" To: Linda Walsh Envelope-to: bug-bash@gnu.org X-Virus-Scanned: amavisd-new at mnet-online.de X-Auth-Info: ttbyxQp2Or3fOASX0Vn9iI1ZFY4FuFQusQ35jRjeULI3X4NvzUovn6jeA5d5PQHk X-Yow: MMM-MM!! So THIS is BIO-NEBULATION! In-Reply-To: <55D39A71.2030109@tlinx.org> (Linda Walsh's message of "Tue, 18 Aug 2015 13:49:53 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.18.0.9 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:11385 Linda Walsh writes: > Ex: rmx -fr (alias to rm --one-file-system -fr, since rm lacks the > -x switch like 'find, cp, mv, et al.) no longer works to clean > out a directory && stay on *one* file system. > > Now rm will delete things on any number of file systems, as long > as they correspond to a cmdline argument. That's the only sensible way to implement it. Which, incidentally, works exactly like find -xdev. Now please explain what this has anything to do with POSIX. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."