[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: du and wc should be able to read arguments from a file
From: |
Jim Meyering |
Subject: |
Re: du and wc should be able to read arguments from a file |
Date: |
Sat, 20 Sep 2003 10:44:16 +0200 |
Dave Gotwisner <address@hidden> wrote:
> Rather than assume it just takes a list of files, I would suggest strongly
> that
> whoever chooses
> to implement this (if anyone does), they also allow it to take other options
> as
> part of the file.
Thanks for the suggestion, but I see no benefit
in taking option strings from an input file.
And there'd be a drawback in that one would have to handle
quoting differences since there'd no longer be a shell in the loop.
E.g. specifying --exclude=\*.bak on the command line would work fine,
but putting --exclude=\*.bak in a file would require that du perform
the job of the shell in removing a layer of quotes.
The alternative of having different (no quotes needed) syntax in
the file seems wrong, too.
- Re: ls options: accept stdin, and list files except for..., (continued)
- du and wc should be able to read arguments from a file, Jim Meyering, 2003/09/18
- Re: du and wc should be able to read arguments from a file, Bernd Jendrissek, 2003/09/18
- Re: du and wc should be able to read arguments from a file, Bob Proulx, 2003/09/19
- Re: du and wc should be able to read arguments from a file, Bernd Jendrissek, 2003/09/19
- Re: du and wc should be able to read arguments from a file, Dave Gotwisner, 2003/09/19
- Re: du and wc should be able to read arguments from a file, Richard Dawe, 2003/09/19
- Re: du and wc should be able to read arguments from a file, Dave Gotwisner, 2003/09/20
- Re: du and wc should be able to read arguments from a file,
Jim Meyering <=
- Re: ls options: accept stdin, and list files except for..., Dave Gotwisner, 2003/09/15