home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / shell / 3843 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.3 KB

  1. Path: sparky!uunet!mcsun!sunic!dkuug!daimi!aau!oase!morten
  2. From: morten@oase.kemi.aau.dk (Morten Kjeldgaard)
  3. Newsgroups: comp.unix.shell
  4. Subject: Re: Interactive csh: what is the comment char?
  5. Message-ID: <morten.715938392@oase>
  6. Date: 8 Sep 92 07:46:32 GMT
  7. References: <morten.715341755@oase> <1992Sep2.233320*Harald.Eikrem@delab.sintef.no>
  8. Sender: news@aau.dk
  9. Organization: Aarhus University, Denmark
  10. Lines: 31
  11. Nntp-Posting-Host: oase.kemi.aau.dk
  12.  
  13. In <1992Sep2.233320*Harald.Eikrem@delab.sintef.no> Harald.Eikrem@delab.sintef.no writes:
  14.  
  15. >! What is the comment character in an interactive csh? When I go
  16. >! 
  17. >!     % # comment
  18. >! 
  19. >! is says
  20. >! 
  21. >!     #: Command not found
  22.  
  23. >Nope, it's not there.  Why?  Do you have an urge for producing interactive
  24. >commants? :)
  25.  
  26. It sounds stupid, I know. But it would be nice to be able to store a shell
  27. script in the mouse buffer -- with comments and all.
  28.  
  29. >The : command isn't usable either.  But if you redeclare it as
  30.  
  31. >   alias :  if 0 0
  32.  
  33. >then : becomes a do-nothing command.
  34.  
  35. Hmm. I *really* prefer. '#'. Oh well. Thanks for the info!
  36.  
  37. /Morten
  38.  
  39. --
  40. Morten Kjeldgaard  ~ morten@oase.kemi.aau.dk ~ mok@kemi.aau.dk
  41. Biostructural Chemistry, Department of Chemistry, Aarhus University
  42. Langelandsgade 140, DK-8000 Aarhus C, Denmark
  43. Phone: +45 86 12 46 33 ~ +45 86 20 27 11 x6518 ~ Fax: +45 86 19 61 99
  44.