On Wed, 27 Feb 2019, Artur T. wrote:
I like it but...>
> I have a further suggestion to throw in the pot: how about
>
> print <object> --range=start:stop
>
> for series, lists, matrices and arrays. We could accept a negative value
> for start or stop as meaning count back from the end, and perhaps a blank
> start or stop field as meaning all the way in that direction.
... Allin's idea is even nicer, there is less to write and it's more general
;-)
Agreed!
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------