bug-fileutils
[Top][All Lists]
Advanced

[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: Richard Dawe
Subject: Re: du and wc should be able to read arguments from a file
Date: Fri, 19 Sep 2003 21:53:17 +0100

Hello.

Dave Gotwisner wrote:
[snip]
> 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.
> Literally, they should replace the "--process-file=foo" with the literal
> contents of the file foo, not assuming they are files.  This gives a nice
> generic interface for scripting, and as such, as Jim says, any thing which
> needs to be escaped should be.  Maybe doing quote processing, to boot.
[snip]

If options were supported in the file, how would you perform operations on a
file beginning with '-'? I suppose '--' could mean 'end of options' like it
does on the command-line.

Regards,

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]