help-recutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[help-recutils] Easier way to get a list of fields for a record?


From: Aikido Guy
Subject: [help-recutils] Easier way to get a list of fields for a record?
Date: Wed, 2 Oct 2013 11:25:35 -0400

Hi!

I was hoping for a more direct way, perhaps using recinfo, to get a list of fields.

Given tmp.rec:
%rec: one

f1: blah
f2: blah

The following command gives me f1 f2
rec2csv --type=one tmp.rec | head -n 1 | sed -e 's/"//g' | sed -e 's/,/ /g'

Perhaps this is a feature request for recinfo?

reply via email to

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