Skip to content
Myr

doc: clarify that ranges need to be quoted in posix compliant shells

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Related to #768

authored by Woolzie · committed by Daniel Eklöf · parent 5908f54 · Browse files · 1 file+15 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+15 added−3 removed

  • other:+15 added−3 removed

1 file+15 added−3 removed

modified:doc/fuzzel.1.scd+15 added-3 removed
514 unmodified lines
515 *--nth-delimiter*) of each input line. When selected, the full516 input line is printed on stdout. dmenu mode only.517518 The argument can also be a format string (i.e free-format text),519 where *{N}* expands to the N:th column. Ranges on the form519 where *{N}* expands to the N:th column. Ranges of the form520 *{N..M}* and *{N..}* (open-ended) are also supported.521522 Note that in posix compliant shells, ranges (*{N..M}*) must be523 in quotation marks to prevent the shell from expanding it.524525526 Example:527 ```528 printf "1\\tFirst\\n2\\tSecond" | fuzzel -d --with-nth=2529 ```
9 unmodified lines
539 Output the N:th column (1-based, tab separated by default, see540 *--nth-delimiter*) of each input line to stdout. dmenu mode only.541542 The argument can also be a format string (i.e free-format text),539 where *{N}* expands to the N:th column. Ranges on the form543 where *{N}* expands to the N:th column. Ranges of the form544 *{N..M}* and *{N..}* (open-ended) are also supported.545546 Note that in posix compliant shells, ranges (*{N..M}*) must be547 in quotation marks to prevent the shell from expanding it.548549550 Example:551 ```552 printf "1\\tFirst\\n2\\tSecond" | fuzzel -d --accept-nth=2553 ```
11 unmodified lines
565 matching against the displayed value (which can be changed with566 *--with-nth*).567568 The argument can also be a format string (i.e free-format text),561 where *{N}* expands to the N:th column. Ranges on the form569 where *{N}* expands to the N:th column. Ranges of the form570 *{N..M}* and *{N..}* (open-ended) are also supported.571572 Note that in posix compliant shells, ranges (*{N..M}*) must be573 in quotation marks to prevent the shell from expanding it.574575576 Example:577 ```578 printf "123\\t456\\t789" | fuzzel -d --with-nth=1 --accept-nth=2 --match-nth=3579 ```
122 unmodified lines