Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2005 06:50:25 GMT
From:      Matteo Riondato <matteo@freebsd.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/82721: rm doesn't remove file with name, which is like flag for the command (-l, -a...)
Message-ID:  <200506280650.j5S6oPR3038515@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/82721; it has been noted by GNATS.

From: Matteo Riondato <matteo@freebsd.org>
To: bug-followup@freebsd.org, "Adil F. Mamedov" <adilm@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)



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