Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11385

Re: -e does not take effects in subshell

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!usenet.stanford.edu!not-for-mail
From Andreas Schwab <schwab@linux-m68k.org>
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 <mailman.8576.1439932228.904.bug-bash@gnu.org> (permalink)
References <BLU176-W28809FB59FF9274B34D871D67F0@phx.gbl> <20150811135056.GD4309@eeg.ccf.org> <BLU176-W27103575D91F4EF315336FD67D0@phx.gbl> <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 <ijkxyz@msn.com>, Greg Wooledge <wooledg@eeg.ccf.org>, Eric Blake <eblake@redhat.com>, "bug-bash@gnu.org" <bug-bash@gnu.org>
To Linda Walsh <bash@tlinx.org>
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 <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:11385

Show key headers only | View raw


Linda Walsh <bash@tlinx.org> 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."

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: -e does not take effects in subshell Andreas Schwab <schwab@linux-m68k.org> - 2015-08-18 23:10 +0200

csiph-web