Name

lrange — Get range of elements from a list.

Synopsis

lrange list first last

Description

The lrange command fetches a range of elements from list, starting at element first and ending at last.

Example

lrange {a b c d e f g} 0 2
	  

Produces:

a b c