Hinweis zu select (README, row.man); Backslash in rdb man korrigiert

This commit is contained in:
wkh
2026-10-11 22:35:37 +02:00
parent d2c4343136
commit 6c0d675c5d
4 changed files with 39 additions and 2 deletions
+26
View File
@@ -191,6 +191,32 @@ Names that are also
reserved words or are followed by
.B (
are never taken for columns.
.SH "Using select in a Shell"
.I "(Ruby re-creation only.)"
.B select
is another name for
.BR row ,
but in
.BR bash ,
.B zsh
and
.B ksh
``select'' is a reserved word of the shell.
The shell recognizes it before it looks for a program, so
.DM
select 'Cost > 5' < inventory
.DE
.PP
stops with a syntax error at the ``<''.
Use the name
.B row
instead, or protect the word from the shell:
.DM
row 'Cost > 5' < inventory
\\select 'Cost > 5' < inventory
command select 'Cost > 5' < inventory
rdb select 'Cost > 5' < inventory
.DE
.SH "See Also"
.B
compute,