[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-recutils] Select records by number
From: |
Jose E. Marchesi |
Subject: |
Re: [help-recutils] Select records by number |
Date: |
Thu, 05 Jan 2012 12:52:15 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) |
Hi.
first many thanks for recutils, it's great, it's excactly what I need
for my day to day usage, I love it !
I am glad you find them useful :)
select a range and specifics records
recsel -n 1-10,15,17,20-23 path_to_my_file
I like the idea. It will go in the 1.5 release, scheduled for the end
of January.
select 5 random of records
recsel -r 5 apath_to_my_file
Easy to implement, so it will go in 1.5 as well :)
For the a random record I use this in my script:
I am curious: what are you using the random selection feature for? A
file with fortune cookies? The message of the day?
--
Jose E. Marchesi http://www.jemarch.net
GNU Project http://www.gnu.org