misc/82721: rm doesn't remove file with name,
which is like flag for the command (-l, -a...)
Matteo Riondato
matteo at freebsd.org
Tue Jun 28 06:50:25 GMT 2005
The following reply was made to PR misc/82721; it has been noted by GNATS.
From: Matteo Riondato <matteo at freebsd.org>
To: bug-followup at freebsd.org, "Adil F. Mamedov" <adilm at risk.az>
Cc:
Subject: Re: misc/82721: rm doesn't remove file with name, which is like flag for the command (-l, -a...)
Date: Tue, 28 Jun 2005 08:48:11 +0200
kaiser#touch -- -l
kaiser#ls | grep "\-l"
-l
kaiser#mv -- -l l
kaiser#ls | grep "\-l"
kaiser#ls | grep -e ^l$
l
kaiser#
This work with rm too.
Note that this work with any program which uses the getopt(3) routine.
If you don't have any objection I will close this bug.
Best Regards
--
Matteo Riondato
FreeBSD Volunteer (http://freebsd.org)
G.U.F.I. Staff Member (http://www.gufi.org)
FreeSBIE Developer (http://www.freesbie.org)
More information about the freebsd-bugs
mailing list