Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16295
| From | Chris Elvidge <chris@mshome.net> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | test puzzle |
| Date | 2020-05-10 15:12 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <r9924r$j60$1@dont-email.me> (permalink) |
Misspelling a variable name made me realise this: [ -f $misspelledvar ] is always true. I agree it should be: [ -f "$misspelledvar" ] which would be false. Is this a bug or a feature? -- Chris Elvidge, England
Back to gnu.bash.bug | Previous | Next | Find similar
test puzzle Chris Elvidge <chris@mshome.net> - 2020-05-10 15:12 +0100
csiph-web