On Sun, 03 May 2009 11:02:37 -0700, Randall R Schulz wrote:
On Sunday May 3 2009, Jim Henderson wrote:
On Sun, 03 May 2009 10:06:36 -0700, Randall R Schulz wrote:
It is not. ! is the history access introducer. It is interpreted outside of quotes and inside double-quote strings but not inside single-quote strings.
Yes, I am fully aware of that. However that is the only place "!" is on the line, so for some reason it's being interpreted that way.
Being interpreted what way? It was used incorrectly and a diagnostic resulted.
Yes, but for some reason it was picked up and interpreted in a way that caused the diagnostic.
This is nonsensical. The ! was followed by a character not allowed in history expansions. That is why BASH rejected the command line and printed a diagnostic.
You and I are saying the exact same thing in different ways. You're explaining that "!" calls back the history and it's failing. I'm saying that the "!" character is being interpreted "incorrectly" - incorrectly based on the intention of it being included in that command, not incorrectly based on its actual use. Bash *should* have induced that the "!" was in a quoted line and shouldn't have expanded it. It did for some reason - maybe because Duaine put two single quotes instead of a double quote at the start of the string. I don't know why and I don't particularly care. The end result was the diagnostic message was displayed because the shell interpreted the use as being something other than what the person entering the command meant. In other words, the intention was interpreted incorrectly by the shell. If you want to insist that my read of this is incorrect, fine.
Is there some particular reason you wish to argue about this? Or can we move on?
You can do whatever you please, but I feel the need to correct false information on this list. So as long as you keep posting misinformation, I'm going to keep correcting it.
I would disagree that my information was incorrect. I interpreted the output based on the input provided. But fine, whatever. I know the information was correct, and if I didn't present it up to your standard of clarity, oh well. I know what I meant and I suspect most others on the list understood what I meant. If you feel it's necessary to nitpick every answer, go ahead and be my guest. Your way of expressing things isn't the only way to do so. Jim -- Jim Henderson Please keep on-topic replies on the list so everyone benefits -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org