On Mon, 2007-08-27 at 02:52 +0200, Michael Monnerie wrote:
> On Montag, 27. August 2007 Josh Marshall wrote:
> > I believe if you omit the <filename> then it expects the script to
> > come from stdin. There are a lot of other utilities like this also
> > (e.g. grep)
> 
> You're right. I wasn't thinking about it as I forgot the script name, 
> but entered the filename, which is translated as scriptname then. That 
> made it confusing.

Right, the syntax is like this:

dbmail-sievecmd -u <username> -i [scriptname [filename]]

I could write a line to stderr like "Please enter data for <scriptname>
on stdin" which would clue you in to what's happening and give
confirmation of the file name, in case it turns out to be something
unexpected.

Aaron

_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to