can we remove a directory from within that directory??

2005-11-21 Thread kuldeep vyas
[input][input][input][input] Hi, I'm using Redhat 9 (kernel 2.4.20-8 on i686) I logged in as k(username), then I started terminal, & then I gave following commands:- k>pwd /home/k k>mkdir my_dir // i created a directory: my_dir k>cd my_dir //

Re: can we remove a directory from within that directory??

2005-11-21 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to kuldeep vyas on 11/21/2005 4:42 AM: > Hi, > > I'm using Redhat 9 (kernel 2.4.20-8 on i686) > I logged in as k(username), then I started terminal, & > then I gave following commands:- > > k>pwd > /home/k > > k>mkdir my_dir > // i creat

Re: can we remove a directory from within that directory??

2005-11-21 Thread Andreas Schwab
kuldeep vyas <[EMAIL PROTECTED]> writes: > k>pwd > /home/k/my_dir > // oops!! Try /bin/pwd. > pwd says I'm in my_dir, but my_dir doesn't exist. It does, it just doesn't have a name any more. > I think: user should not be allowed to remove a directory, > until & unless he is placed in a direc

Re: can we remove a directory from within that directory??

2005-11-21 Thread Phillip Susi
It is a general design philosophy of linux, and unix in general, that the kernel will not enforce locking of files. This is why you can upgrade software without rebooting: the old file can be deleted and replaced with the new file, even though it is still in use. Of course, it isn't actually

Re: can we remove a directory from within that directory??

2005-11-21 Thread Philip Rowlands
On Mon, 21 Nov 2005, kuldeep vyas wrote: I'm using Redhat 9 (kernel 2.4.20-8 on i686) I logged in as k(username), then I started terminal, & then I gave following commands:- [snip] k>ls /home/k/ // my_dir gone k>pwd /home/k/my_dir // oops!! It's likely here that "pwd" is the shell's buil

RE: Bug report: sort.c or AIX compiler

2005-11-21 Thread Lemley James - jlemle
Paul Eggert writes: > The basic idea > here is that coreutils will attempt to detect the problem, and pass > the -qlanglvl=extc89 option to IBM's compiler. (It will pass > -qlanglvl=ansi to older versions of IBM's compilers.) I assume this > will work around the problem; if not, please let me kno

Re: FW: PMR 52061,370,000

2005-11-21 Thread Paul Eggert
"Lemley James - jlemle" <[EMAIL PROTECTED]> writes: > I lost in my argument that they should do something about it; they are > clearly not going to. Thanks for trying. Does -qlanglvl=extc99 and/or -qlanglvl=extc89 fix the problem? If so, we're done, since my installed-on-Friday patch will use th

RE: od command

2005-11-21 Thread Vance, Jack D.
od - --version = 2.0 written by Jim Meyering. uname -a = Linux linux 2.4.29-rc1 #1 SMP Tue Jan 11 16:53:32 EST 2005 i686 unknown unknown GNU/Linux Jack -Original Message- From: Eric Blake [mailto:[EMAIL PROTECTED] Sent: Fri 11/18/2005 4:03 PM To: Van

RE: Bug report: sort.c or AIX compiler

2005-11-21 Thread Lemley James - jlemle
Yes, -qlanglvl=extc89 fixes it so we are good to go. Thanks. -Original Message- From: Paul Eggert [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 2:49 PM To: Lemley James - jlemle Cc: bug-coreutils@gnu.org Subject: Re: FW: PMR 52061,370,000 "Lemley James - jlemle" <[EMAIL PROT

sort (textutils) 2.0.21 Bug

2005-11-21 Thread Mahesh Fernando
Dear friends, I am using Windows service for unix 3.5. When I user the sort utility to sort numerically for specific field it gives me error “Input file specified two times.”. I think it is a bug. My command format as follows, sort +23n file_name sort utility version 2.0.21

Re: sort (textutils) 2.0.21 Bug

2005-11-21 Thread Bob Proulx
Mahesh Fernando wrote: > I am using Windows service for unix 3.5. When I user the sort utility to > sort numerically for specific field it gives me error “Input file specified > two times.”. I think it is a bug. > My command format as follows, > > sort +23n file_name > sort utility v

Re: sort (textutils) 2.0.21 Bug

2005-11-21 Thread James Youngman
On Mon, Nov 21, 2005 at 10:56:16AM -0800, Mahesh Fernando wrote: > Dear friends, > > I am using Windows service for unix 3.5. When I user the sort utility to > sort numerically for specific field it gives me error “Input file specified > two times.”. I think it is a bug. I'm pretty sure

Re: can we remove a directory from within that directory??

2005-11-21 Thread kuldeep vyas
Hi Phillip, Thanks for information. While upgrading software (without reboot): this design technique is really good. But I've a doubt:- When we purchase License of a software/tool, after expiry date: License Files 1. are deleted, OR 2. are modified so that they can't be