=================================================================== RCS file: /cvs/pta/pta_import.1,v retrieving revision 1.13 retrieving revision 1.15 diff -u -p -r1.13 -r1.15 --- pta/pta_import.1 2020/12/03 14:46:44 1.13 +++ pta/pta_import.1 2020/12/11 20:08:21 1.15 @@ -1,4 +1,4 @@ -.\" $Id: pta_import.1,v 1.13 2020/12/03 14:46:44 freda Exp $ +.\" $Id: pta_import.1,v 1.15 2020/12/11 20:08:21 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: December 3 2020 $ +.Dd $Mdocdate: December 11 2020 $ .Dt PTA_IMPORT 1 .Os .Sh NAME @@ -37,29 +37,9 @@ If the .Ar file argument is omitted, standard input is read instead. .Pp +The .Ar accountname -is exactly one of -.Pp -.Bl -bullet -offset indent -compact -.It -.Cm bbva_usa -.It -.Cm capital_one_360 -.It -.Cm capital_one_credit -.It -.Cm chase_credit -.It -.Cm etrade_ira -.It -.Cm optum_hsa -.It -.Cm sparkasse_camt -.It -.Cm wellsfargo -.El -.Pp -and corresponds to an existing +argument corresponds to an existing .Pa ./import/ Ns Ar accountname Ns Pa .txt configuration file. .Ss Configuration file format @@ -90,6 +70,7 @@ If .Ar debit_column is omitted, amounts preceded by a minus sign or enclosed in parentheses are booked to the debit side. +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. @@ -110,10 +91,11 @@ This rule is required in every configuration file. The column numbers in the CSV file to be concatenated to form the text string for the journal entry. Numbering starts from 1. +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. Most financial institutions use commas but some use semicolons. +This rule is required in every configuration file. .It Ic HEADER Ar header Skip the first line of the CSV file if it matches the .Ar header @@ -141,6 +123,7 @@ The selector is a string consisting of regular express by delimiters defined in the .Ic DELIM rule. +These rules appear after all other rule types. .El .Sh FILES Example configuration files: @@ -194,7 +177,4 @@ has the following limitations: Pattern recognition in the .Pa import/accountname.txt files is under continued development. -.It -User-defined configuration files are not currently -supported. .El