=================================================================== RCS file: /cvs/pta/pta_import.1,v retrieving revision 1.9 retrieving revision 1.10 diff -u -p -r1.9 -r1.10 --- pta/pta_import.1 2020/11/28 15:10:36 1.9 +++ pta/pta_import.1 2020/11/30 16:19:19 1.10 @@ -1,4 +1,4 @@ -.\" $Id: pta_import.1,v 1.9 2020/11/28 15:10:36 freda Exp $ +.\" $Id: pta_import.1,v 1.10 2020/11/30 16:19:19 freda Exp $ .\" .\" Copyright (c) 2020 Freda Bundchen .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: November 28 2020 $ +.Dd $Mdocdate: November 30 2020 $ .Dt PTA_IMPORT 1 .Os .Sh NAME @@ -81,6 +81,22 @@ The number in .Xr pta-accounts 5 of the bank or credit card account this CSV file contains entries for. This rule is required in every configuration file. +.It Ic COSTCENTER Ar costcenter_column +The column number in the CSV file containing the cost center. +Numbering starts from 1. +If this rule is not specified, no cost centers are assigned. +.It Ic DATE Ar date_column date_format +The column number in the CSV file containing the date. +Numbering starts from 1. +The +.Ar date_format +is one of +.Ic MM/DD/YY , +.Ic MM/DD/YYYY , +.Ic YYYY-MM-DD , +or +.Ic DD.MM.YY . +This rule is required in every configuration file. .It Ic DELIM Ar delimiter The character used to separate fields. This rule is required in every configuration file. @@ -92,6 +108,11 @@ line verbatim, or cause parsing to fail if it does not .It Ic IGNORE Ar regular_expression Skip all lines in the CSV file matching the .Ar regular_expression . +.It Ic QUANTITY Ar quantity_column +The column number in the CSV file containing the number of stock shares. +Numbering starts from 1. +If this rule is not specified, no information about the number of traded +securities is appended to the text string. .It Ic QUOTE Ar quote Expects that every field starts and ends with the .Ar quote