mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-20 02:37:12 +03:00
f05837a442
- space prefix to deter shelltest --with usage - use the just-built hledger binary, not whatever's in PATH - more post-test cleanup
17 lines
500 B
Plaintext
17 lines
500 B
Plaintext
# nested includes in subdirectories
|
|
mkdir -p b/c/d ; printf '2010/1/1\n (D) 1\n' >b/c/d/d.journal ; printf '2010/1/1\n (C) 1\n!include d/d.journal\n' >b/c/c.journal ; printf '2010/1/1\n (B) 1\n!include c/c.journal\n' >b/b.journal ; printf '2010/1/1\n (A) 1\n!include b/b.journal\n' >a.journal ; bin/hledger -f a.journal print; rm -rf a.journal b
|
|
>>>
|
|
2010/01/01
|
|
(A) 1
|
|
|
|
2010/01/01
|
|
(B) 1
|
|
|
|
2010/01/01
|
|
(C) 1
|
|
|
|
2010/01/01
|
|
(D) 1
|
|
|
|
>>>2
|