Re: Simplify an IF statement to one line



Stephane CHAZELAS wrote:

That's ksh93/bash specific syntax (with an error has you need to
quote the ${...} above).

Also, it's not an error to leave out the quotation marks. It *would* be an
error had I used it in a context which depended upon such. Null string or no
string is still an error to "source".
.



Relevant Pages

  • Re: using DBI to form query with variables that have quotes
    ... There is a function offered by the DBI module called 'quote'. ... Quote a string literal for use as a literal value in an SQL statement, by escaping any special characters (such as quotation marks) contained within the string and adding the required type of outer quotation marks. ...
    (perl.beginners)
  • Re: Simplify an IF statement to one line
    ... Christopher Layne wrote: ... quote the $above). ... it's not an error to leave out the quotation marks. ... string is still an error to "source". ...
    (comp.unix.programmer)
  • Re: The power that is C++
    ... within the string. ... and the name of the character is quote. ... reference says the rule should be single quotation marks for the first ... It seems apostrophes occur singly while ...
    (comp.lang.fortran)
  • Discrepancy in GetPrivateProfileString function between Win9x and NT or later.
    ... The reference states that with respect to keyname = string, Doubling quotation marks ... string with its quotation marks -- "string". ... You can double quote the default string ...
    (microsoft.public.win32.programmer.ui)
  • Re: Difference between and : symbols
    ... lisp> ... You can inhibit evaluation with the special operator QUOTE. ... The specific thing that confused you is why ASDF functions ... But what ASDF really wants is a string. ...
    (comp.lang.lisp)