lkml.org 
[lkml]   [2000]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    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`

    Funny.
    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 majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:56    [W:0.020 / U:0.160 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site