.TH foot "" "" "/act/gl Command" .PC "Foot or subtotal Debits and Credit of ledger" .B foot .PP .II "account^subtotal" .II "table^subtotal" .II "subtotal table" The command .B foot is part of the accounting/general-ledger system included with .BR /rdb . It subtotals the accounts in table .BR ledger . .SH Example The command .B foot produces a table that resembles the following: .DM Account Date Debit Credit Ref Short Description ------- ------ ----- ------ ------- ------- ------------------ 1010 851231 1758 cash 1010 851231 5137 cash ------- ------ ----- ------ ------- ------- ------------------ 1010 5137 1758 .DE .DM 3010 1601 deposit sales ------- ------ ----- ------ ------- ------- ------------------ 3010 0 1601 .DE .DM 3080 850125 250 c1459 royalty book fees ------- ------ ----- ------ ------- ------- ------------------ 3080 0 250 .DE .DM 3100 850118 3286 c101 income sales ------- ------ ----- ------ ------- ------- ------------------ 3100 0 3286 .DE .DM 4020 1601 check merch ------- ------ ----- ------ ------- ------- ------------------ 4020 1601 0 .DE .DM 4370 850101 2 r parking parking at clients ------- ------ ----- ------ ------- ------- ------------------ 4370 2 0 .DE .DM 4380 850103 15 c115 travel shuttle bus 4380 850104 13 v travel meal 4380 850105 13 c116 travel meal 4380 850106 114 r travel hotel ------- ------ ----- ------ ------- ------- ------------------ 4380 155 0 .DE .SH "See Also" .B act .R .SO foot