help-recutils
[Top][All Lists]
Advanced

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

Re: [help-recutils] Select records by number


From: F.
Subject: Re: [help-recutils] Select records by number
Date: Mon, 9 Jan 2012 11:36:16 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Jose E. Marchesi <address@hidden> a écrit le 2012-01-08 14:09:14 +0100 : 

>     
> Well, both facilities are now implemented, documented and tested in the
> git repo.

Big kudo to you Jose \o/ 

> 
> Some remarks:
> 
> - The -n option now accepts a list of indexes N1,N2,N3,... where each
>   index can be a range with the form MIN-MAX.
>
> - The random option uses the switch --random or -m (-r was taken in some
>   of the utilities for other purposes).
> 
> Note that the utilities supporting those options are recsel, recins
> (replace mode), recdel and recset.  So it is now possible to:
> 
> Replace random records:
> 
>   $ recins -m 2 -f FieldNmae -v Value
> 
> Delete or comment-out random records:
> 
>   $ recdel -m 5 foo.rec
> 
> Operate on the fiels of random records:
> 
>   $ recset -m 5 -f FieldName -r NewFieldName
> 
> Please send any bug report to address@hidden

It's exactly what I need, so now need to rm my so beautiful bash script.
Do you plan an official version soon ?

Best reagrds,
F.




reply via email to

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