GNU bug report logs - #8405
Information needed for 'cp'

Previous Next

Package: coreutils;

Reported by: aakanksha gaur <aakanksha.gaur <at> gmail.com>

Date: Fri, 1 Apr 2011 16:20:03 UTC

Severity: normal

Tags: notabug

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: aakanksha gaur <aakanksha.gaur <at> gmail.com>
To: 8405 <at> debbugs.gnu.org
Subject: bug#8405: Information needed for 'cp'
Date: Fri, 1 Apr 2011 14:12:19 +0530
[Message part 1 (text/plain, inline)]
Hi,

I need to know what is the rationale behind this behavior ?

> cp aa bb
aa does not exist and neither does bb. No warning is thrown on performing
this operation.

However,
if I do

> cp dd cc
where cc is a non empty file, then a warning is thrown about the source file
being empty| invalid.
This is the warning thrown.

cp: cannot stat `dd': No such file or directory


Can I please know the rationale behind this behavior?



Thanks
Aakanksha Gaur
[Message part 2 (text/html, inline)]

This bug report was last modified 13 years and 295 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.