[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
recfmt tabular output returns one record only
From: |
Wu Ming |
Subject: |
recfmt tabular output returns one record only |
Date: |
Fri, 3 Nov 2023 12:06:10 +0800 |
Hello,
I am using recutils for the first time.
Wanted output in a tabular format so:
template.txt:
{{Dir}} {{Name}} {{html}}
Example recfile:
%rec: Tot
CSV: 36
HTML: 2
%rec: Checks
Dir: 19112
Name: First
html: 128K
Dir: 2375
Name: Second
html: 124K
Unfortunately:
recsel -C -t Checks check.rec | recfmt -f template.txt
19112 First 128K
so one record is missing.
-C is the culprit as removing it two records are shown. But with a newline
added
recsel -t Checks check.rec | recfmt -f template.txt
19112
First
128K
2375
Second
124K
so format is not tabular anymor.
Any help will be appreciated.
Thanks.
- recfmt tabular output returns one record only,
Wu Ming <=
- Re: recfmt tabular output returns one record only, Rowan Wookey, 2023/11/03
- Re: recfmt tabular output returns one record only, Wu Ming, 2023/11/03
- Re: recfmt tabular output returns one record only, Rowan Wookey, 2023/11/03
- Re: recfmt tabular output returns one record only, Wu Ming, 2023/11/03
- Re: recfmt tabular output returns one record only, Rowan Wookey, 2023/11/03
- Re: recfmt tabular output returns one record only, Wu Ming, 2023/11/03
- Re: recfmt tabular output returns one record only, Edoardo Zari, 2023/11/07