help-recutils
[Top][All Lists]
Advanced

[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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]