[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: Sun, 08 Jan 2012 14:09:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux)

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

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

Jose E. Marchesi
GNU Project    

reply via email to

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