[Tcsh] Interactive comments for tcsh?
M G P
tateusg at hotmail.com
Sun Sep 24 18:07:40 UTC 2023
You aren't wrong for using : to introduce comments.
https://archive.org/details/theunixcommandlanguage/EPSON008.JPG
Given this writing, the use of : for introducing comments dates back to the Thompson Shell. Maybe it's for use on simple comments. It's possible to escape parsed characters, though.
________________________________
Is there any possibility/interest in adding an 'interactive_comments" option for tcsh like is in bash?
I'm interested because I often make notes of procedures/commands that I want to cat and paste into the terminal to repeat at some point and want to be able to add comments to them. Stuff like:
mkdir foobar # pick any name
cd foobar
ln -s ../bletch/bin/* ./ # include bletch commands
I have been using ' ;: ' to introduce comments, but the shell still tries to parse the rest of the line and if there are any quotes, semi-colons, less-thans, or greater-thans, it doesn't work properly
-WRSomsky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.astron.com/pipermail/tcsh/attachments/20230924/8117e056/attachment.htm>
More information about the Tcsh
mailing list