David selby wrote:
Elie De Brauwer wrote:
a) do you have the coreutils package installed (which provides the stat binary on my machine
b) that is not true, there are manpages for a whole lot of file, for example if you have the mesa development files installed you have the manpages for all Opengl functions available. On my system i have two separate stat manpage i have man 1 stat (this describes the command like i pasted below)
man 2 stat
(which describes the stat system calls which you can use in c/c++ (and probably other) programs to get information about files on you system.)
[EMAIL PROTECTED]:~$ dpkg -S /usr/share/man/man2/stat.2.gz manpages-dev: /usr/share/man/man2/stat.2.gz [EMAIL PROTECTED]:~$ dpkg -S /usr/share/man/man1/stat.1.gz coreutils: /usr/share/man/man1/stat.1.gz
As you can see both manpages (which have the same name but cover different topics) are originating from different packages, so normally installing coreutils should provide you with the binary you need.
hth
Thanks for the clarification on man pages ...
I don't appear to have the coreutils package installed. Something tells me I am missing something obvious but !
debian:/home/web# apt-cache gencaches Reading Package Lists... Done debian:/home/web# debian:/home/web# apt-cache search coreutils debian:/home/web#
and from aptitude a search for coreutils provides zip, running debian woody
OK what am I missing ! Dave
All sorted, used file1 -ot file2 instead as suggested by colin, didn't know bash could do that !
many thanks for your help anyhow.
Dave
PS still cant find coreutils or stat, though its not a problem now.
debian:/home/web# dpkg -i coreutils dpkg: error processing coreutils (--install): cannot access archive: No such file or directory Errors were encountered while processing: coreutils debian:/home/web# dpkg -i stat dpkg: error processing stat (--install): cannot access archive: No such file or directory Errors were encountered while processing: stat debian:/home/web#
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]