[lkml]   [2000]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 'core' (patch)
On Fri, Feb 11, 2000 at 11:22:51AM -0500, Richard B. Johnson wrote:
> I think it would be "nice" to change the kernel directory name,
> presently "core", to "Core".

> - rm -f core `find . -type f -name '.*.flags' -print`
> + rm -f Core `find . -type f -name '.*.flags' -print`

You see, many older versions of rm will give an error message
when called without argument:

# rm -f
Usage: rm [-dfirvR] [--directory] [--force] [--interactive] [--recursive]
[--verbose] path...

So, a construction like
rm -f core `find stuff`
is meant to make sure that rm has at least one argument.
This is not the directory name, but a dummy filename,
chosen such that we don't mind if it is actually removed.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:56    [W:0.069 / U:0.540 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site