murex Shell Docs

Command Reference: [ (range)

Outputs a ranged subset of data from STDIN

Description

This will read from STDIN and output a subset of data in a defined range.

The range can be defined as a number of different range types - such as the content of the array or it’s index / row number. You can also omit either the start or the end of the search criteria to cover all items before or after the remaining search criteria.

Please note that @[ syntax has been deprecated in favour of [ syntax instead. Aside from its name dropping the @ prefix, it will still perform identically

Usage

<stdin> -> [start..end]flags -> <stdout>

Deprecated support:

<stdin> -> @[start..end]flags -> <stdout>

Examples

Range over all months after March:

» a: [January..December] -> [March..]se
April
May
June
July
August
September
October
November
December

Range from the 6th to the 10th month (indexes start from zero, 0):

» a: [January..December] -> [5..9]
June
July
August
September
October

Flags

Synonyms

See Also

This site's content is rebuilt automatically from murex's source code after each merge to the master branch. Downloadable murex binaries are also built with the website.

Last built on Mon Feb 13 09:18:06 UTC 2023 against commit f339958f33995895c1d997efcdbb8408d2c8d45f8b5f934.

Current version is which has been verified against 13950 tests cases.