Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: linux-ipsec: args from files

From: Paul Koning <pkoning(at)xedia.com>
Date: Wed Jul 22 1998 - 16:26:00 EDT

I think "tar" makes a good model. It (gnu tar anyway) has both positional arguments and the ability to supply some of it via a file. There is no notion that you must do all one or all the other.

So I'd suggest to allow parameters to be specified via individual options (e.g., "--spi 65") and *also* via entries in an options file (e.g., "--options optfile", and then optfile contains a line "spi 65"). The usual ordering rules would apply, i.e., with that optfile, if you say "--options optfile --spi 10" you get spi 10, if you say "--spi 10 --options optfile" you get spi 65.

        paul Received on Wed Jul 22 18:10:38 1998

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:59:24 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library