[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Edlug Archive Jan 2003 ]

Re: [edlug] BASH question



Hi,

On Wed, 2003-01-15 at 16:11, Ben Soares wrote:

> Okay, my actual problem is that the "file1 -nt file2" (newer than) test 
> operator is failing to give the right answer when set against two files 
> bigger than 2Gb.  Also, filename expansion like "ls file[12]" also fails with 
> "No such file or directory".  Is this likely to be because large file support 
> is not compiled in? 

Yes, it definitely sounds like it.

> or is it a bug in bash?

No, here's bash running against a large (sparse) file on my current Red
Hat box ---

	$ du -h big
	0       big
	$ ls -lh big
	-rw-rw-r--    1 sct      sct           64G Jan 15 22:22 big
	$ echo b*
	big
	$

Cheers,
 Stephen

-----------------------------------------------------------------------
You can find the EdLUG mailing list FAQ list at:
http://www.edlug.org.uk/list_faq.html



This archive is kept by wibble@morpheux.org.DONTSPAMME
homepage