Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Weird Files...



And don't forget emacs (or xemacs) dired. 
On 26 Oct 2000, at 9:42, Patrick McManus wrote:

> [Derek Atkins: Thu, Oct 26, 2000 at 09:11:37AM -0400]
> > Right.. So you need to convince rm that it's a file, not an argument.
> > One way of doing this is:
> > 
> > 	rm ./-f2
> > 
> 
> yep.. from the "more than one way to skin a cat" school, everybody's
> got their favorites..
> 
> rm -- -f2
> 
> rm ?f2
> 
> rm -i * (interactive, so not for scripting.. but useful when you've
>          got a directory full of stuff due to a shell script gone
>          awry)
> 
> 
> int main (int c, char **v)
> {
>  unlink ("-f2");
> }


Jerry Feldman <gaf at blu.org>
Associate Director
Boston Linux and Unix user group
http://www.blu.org
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org