HP3000-L Archives

June 1995, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Steve Elmer <[log in to unmask]>
Reply To:
Steve Elmer <[log in to unmask]>
Date:
Wed, 31 May 1995 22:44:19 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (71 lines)
I missed the beginning of this thread, but manipulations of the file "."
are not necessary.
 
In an MPE group, account, or root, the "." and ".." entries are faked
by the various interfaces to merely appear to exist.  They are not
really there.
 
In a POSIX directory, the "." and ".." entries are real and should not
be messed with.
 
Usually, the attempt to remove them will fail because
they are directories containing files.  One thing that may appear to
work is to enter the shell and use the command "rm -r ." from the
appropriate place.  Unfortunately, this will remove the directory
that "." refers to and all its contents which is 99.99999% of the
time _not_ what you want.
 
Just to make sure, you should change directory to the place where
you thought you created a file called "." and do the following:
 
        ls ./*
        ls $PWD
 
from in the shell.  You should see the same file list except
the first list will have "./" prepended to it.
 
The command
 
        ls .
 
shows a file called "." with apparently different characteristics
than the $PWD.  Don't be fooled, looking at the list of files
should convince you that they are the same!
 
Steve
 
Richard Gambrell ([log in to unmask]) wrote:
: According to Bob Walker:
: >
: > ...
: >  !FILE OUTF=CLASSES;DEV=A123P2;&
: >  !FORMS=Please set up 8LPI for classlists ------------>.
: > ... Job Aborts Here....
: >
: > OK. Didn't take too long to find this one.  "." is now a valid file
: > name and so the file equation acutally gets redirected to a file
: > called "."!!
: >
: > Changed the job file, Class Lists are now running.
: >
: > BUT, how do I get rid of this file called "."  ?
: > Tried  PURGE .   PURGE ./.    shell>rm   '.'     rm .
 
: Bob, now I have the same problem (trying to test out solutions
: for you). I tried in the posix shell \. but this doesn't work
: either. The problem is the . "automatically" refers to a
: directory (the current directory). I believe that the . file name
: should not have been allowed. I also tried /ACCT/GROUP/\. and
: several more variations.
 
: BTW You can create the file . from the MPE CI by the command:
:         echo something > .
: But, be forewarned, you may not get rid of it.
 
: So Bob, if you get an answer, please post it as I need it too.
: --
: -- - - - Speaking for myself and not necessarily anybody else - - - - - -
: Richard Gambrell        | Internet: [log in to unmask]
: Mgr. Tech. Services     | POT:      504-483-7454     FAX: 504-482-1561
: Xavier University of LA | Smail:    7325 Palmetto, New Orleans, LA 70125

ATOM RSS1 RSS2