Article 5P0YB Questions for tcsh user. ":" and "goto" at shell prompt.

Questions for tcsh user. ":" and "goto" at shell prompt.

by
kaz2100
from LinuxQuestions.org on (#5P0YB)
Hya,

I have been using tcsh for my system. I ran into two questions, which initially I thought would be easy, but not quite.
Question 1 Why am I not getting any error with ":" at prompt.Code:>:
> I do not think ":" has special meaning except for history expansion. ";" at prompt does not raise error, which can be explained with tcsh grammar. I think it should raise an error like "," at prompt.

Question 2 How to get out when "goto a:" by mistake at prompt? With ctrl-D, occasionally works, but if so, ctrl-Z is supposed to work, but not. (like cat > /dev/null)

Both questons may be related to label. So far, I cannot figure out grammar hiding behind.

Has any expert ever run into this?

regards

Happy Penguins!latest?d=yIl2AUoC8zA latest?i=3klaF8eTU9E:DImWJ9cKROg:F7zBnMy latest?i=3klaF8eTU9E:DImWJ9cKROg:V_sGLiP latest?d=qj6IDK7rITs latest?i=3klaF8eTU9E:DImWJ9cKROg:gIN9vFw3klaF8eTU9E
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments