sorttrans-cli(1) | General Commands Manual | sorttrans-cli(1) |
sorttrans-cli - sorts a ledger file in chronological order
sorttrans-cli [options]
sorttrans-cli is a text program for sorting a ledger in chronological order.
The program loads the ledger file and sorts the transactions in memory. Then, depending on the command-line options, it either writes the sorted file back, or invokes meld with the original and sorted version shown, for interactive editing.
The program must be supplied with location of the ledger file to work with. If not supplied using the command-line option --file, the location of the file is determined using the following mechanisms, in this order. The first mechanism which yields a result, wins.
The following environment variable is recognized by this program:
The config file for ledger(1), namely file .ledgerrc in user's home directory is scanned looking for the following option.
ledger(1), meld(1), addtrans(1), cleartrans-cli(1), sellstock-cli(1), withdraw-cli(1).
November 14 2022 |