Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15641 > unrolled thread
| Started by | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| First post | 2019-11-25 16:53 -0500 |
| Last post | 2019-11-25 16:53 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: man bash does not list 'in' as a builtin command Greg Wooledge <wooledg@eeg.ccf.org> - 2019-11-25 16:53 -0500
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Date | 2019-11-25 16:53 -0500 |
| Subject | Re: man bash does not list 'in' as a builtin command |
| Message-ID | <mailman.2633.1574718792.13325.bug-bash@gnu.org> |
On Mon, Nov 25, 2019 at 01:43:41PM -0800, Peter Benjamin wrote: > Description: > 'in' is a builtin command and is not listed in the man page as such. It's actually a keyword. It's part of the "for" and "case" syntax. wooledg:~$ type in in is a shell keyword for NAME in WORDS; do ...; done case WORD in PATTERN) ... ;; esac I would not recommend attempting to create a command named "in" to use in shell scripts. It's bound to get ugly.
Back to top | Article view | gnu.bash.bug
csiph-web