61 lines
		
	
	
		
			707 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			61 lines
		
	
	
		
			707 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # report cleared transactions only
 | |
| #
 | |
| bin/hledger -f- print --cleared
 | |
| <<<
 | |
| 2010/1/1 x
 | |
|   a  1
 | |
|   b
 | |
| 
 | |
| 2010/1/2 * x
 | |
|   a  1
 | |
|   b
 | |
| 
 | |
| 2010/1/3 *
 | |
|   a  1
 | |
|   b
 | |
| >>>
 | |
| 2010/01/02 * x
 | |
|     a             1
 | |
|     b            -1
 | |
| 
 | |
| 2010/01/03 * 
 | |
|     a             1
 | |
|     b            -1
 | |
| 
 | |
| >>>=0
 | |
| 
 | |
| # report uncleared transactions only
 | |
| bin/hledger -f- print --uncleared
 | |
| <<<
 | |
| 2010/1/1 x
 | |
|   a  1
 | |
|   b
 | |
| 
 | |
| 2010/1/2 * x
 | |
|   a  1
 | |
|   b
 | |
| 
 | |
| 2010/1/3 *
 | |
|   a  1
 | |
|   b
 | |
| >>>
 | |
| 2010/01/01 x
 | |
|     a             1
 | |
|     b            -1
 | |
| 
 | |
| >>>=0
 | |
| 
 | |
| # we don't yet support cleared postings, except we should ignore the marker when parsing them
 | |
| bin/hledger -f- balance --no-total
 | |
| <<<
 | |
| 2010/1/1
 | |
|   a    1
 | |
|   *a   2
 | |
|   * a  4
 | |
|   b
 | |
| 
 | |
| >>>
 | |
|                    7  a
 | |
|                   -7  b
 | |
| >>>=0
 |