Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Display a random fortune in the login window' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Display a random fortune in the login window
Authored by: mattia on Nov 18, '04 01:36:29PM
Notwithstanding the suggested remedy to the double quotes thing, I'm still unable to 'fortune' quotes containing double quotes. Whether I use my fortunes or the system supplied ones, whenever I run the command I get the following error

2004-11-18 08:22:57.703 defaults[1104] Could not parse: "
        The control code for all beginning programmers and those who would
        become computer literate.  Etymologically, the term has come down as
        a contraction of the often-repeated phrase "ascii and you shall
        receive."
                -- Robb Russon".  Try single-quoting it.
I'm not that fluent with shell substitution of single or doiuble quotes, but I've made some unsuccessful attempts to over-quote the expression. Is is just me or has somebody else run into the same problem? Mattia

[ Reply to This | # ]