From 8ab2316604f02b990b1fbec7f581b39e358875ab Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 30 Dec 2020 16:28:08 -0800 Subject: [PATCH] ;cli: doc: data formats: wording --- hledger/hledger.m4.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hledger/hledger.m4.md b/hledger/hledger.m4.md index 954856e27..754ec91a8 100644 --- a/hledger/hledger.m4.md +++ b/hledger/hledger.m4.md @@ -355,10 +355,13 @@ recognised file extension, so as to either read successfully or to show relevant error messages. You can also force a specific reader/format by prefixing the file path -with the format and a colon. Eg to read a .dat file as csv: +with the format and a colon. Eg, to read a .dat file as csv format: ```shell $ hledger -f csv:/some/csv-file.dat stats +``` +Or to read stdin (`-`) as timeclock format: +```shell $ echo 'i 2009/13/1 08:00:00' | hledger print -ftimeclock:- ```