Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 2000 02:08:44 +0100
From:      Ben Smithurst <ben@FreeBSD.org>
To:        "Philip M. Gollucci" <gollucci@wam.umd.edu>
Cc:        Evren Yurtesen <yurtesen@ispro.net.tr>, freebsd-questions@FreeBSD.ORG
Subject:   Re: how to delete all files but the XYZ file.
Message-ID:  <20000827020844.D64260@strontium.scientia.demon.co.uk>
In-Reply-To: <Pine.GSO.4.21.0008261910550.2298-100000@rac1.wam.umd.edu>
References:  <Pine.BSF.4.21.0008261122230.16809-100000@finland.ispro.net.tr> <Pine.GSO.4.21.0008261910550.2298-100000@rac1.wam.umd.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Philip M. Gollucci wrote:

> the rm command supports regex expressions.

No it doesn't.  The rm command supports neither regexes nor glob
patterns.  Most *shells* support glob patterns, though they can't easily
be used for this case, and I'm not sure how much regexes would help, if
any shells support that.

-- 
Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000827020844.D64260>