CmdID

CmdID / Commands

readarray

Read lines from stdin into an array. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Interactively input lines into an array

readarray array_nameIdentify

Read lines from a file and insert them in an array

readarray <path/to/file.txt array_nameIdentify

Remove trailing delimiters (newline by default)

readarray <path/to/file.txt -t array_nameIdentify

Copy at most n lines

readarray <path/to/file.txt -n n array_nameIdentify

skip the first n lines

readarray <path/to/file.txt -s n array_nameIdentify

Define a custom delimiter

readarray <path/to/file.txt -d delimiter array_nameIdentify

Display help

help mapfileIdentify