bin: hledger-simplebal.sh -> hledger-simplebal
This commit is contained in:
		
							parent
							
								
									a7d4c3ad1e
								
							
						
					
					
						commit
						c783ebcee6
					
				| @ -1,10 +1,7 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
| # hledger-simplebal [BALANCEARGS] - try to reliably report just one single | # hledger-simplebal [BALANCEARGS] - try to reliably report the grand | ||||||
| # machine-readable balance number: the grand total of `hledger balance`, | # total of `hledger balance`, optionally with arguments, as a single | ||||||
| # optionally with arguments. | # machine-readable number.  Requires hledger 1.24 or newer. | ||||||
| # |  | ||||||
| # Requires hledger 1.24 or newer (the December 2021 release, see https://hledger.org/download.html ) |  | ||||||
| # https://gist.github.com/simonmichael/feee7fc1567c5f10355f952b87bd3090 |  | ||||||
| 
 | 
 | ||||||
| VALUATION_COMMODITY="$" | VALUATION_COMMODITY="$" | ||||||
| hledger bal -0 -N -X "$VALUATION_COMMODITY" --infer-market-prices -c "$VALUATION_COMMODITY 1000" --layout=bare "$@" | awk '{print $1}' | hledger bal -0 -N -X "$VALUATION_COMMODITY" --infer-market-prices -c "$VALUATION_COMMODITY 1000" --layout=bare "$@" | awk '{print $1}' | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user