<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">It is not bad at all :-) I've been using it for more than 40 years... It is great for command line use, but not good for scripting...<div class=""><br class=""></div><div class="">christos<br class=""><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Sep 1, 2022, at 3:16 PM, M G P <<a href="mailto:tateusg@hotmail.com" class="">tateusg@hotmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">

<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class="">

<div class=""><p class=""><defanged_div class=""></defanged_div></p><defanged_div class=""><p class=""><defanged_div style="color:rgb(33,33,33); background-color:rgb(255,255,255)" dir="auto" class="">That's understandable, but some make a hell out of nothing, condemning it at all costs. I think it's wrong to take it as plain failure due to the parsing style.
</defanged_div></p><p class=""><defanged_div dir="auto" class=""><br class="">
</defanged_div></p><defanged_div class=""><p class=""><defanged_div dir="auto" class="">I moved to [T]csh after realizing Bash couldn't avoid injections. I didn't take the time to check on other Bourne-like Shells (and wasn't optimistic on them), but [T]csh proved to be more reliable, though initially I was almost convinced it
 was a bad idea, due to the heavy criticism.</defanged_div></p><defanged_div class=""><p class=""><defanged_div dir="auto" class=""><br class="">
</defanged_div></p><defanged_div class="">
Wasn't for my curiosity and persistence, I'd believe [T]csh is as bad as some put.
<br class=""><div class=""><br class="webkit-block-placeholder"></div><defanged_div class=""><p class=""><defanged_div dir="auto" id="ms-outlook-mobile-signature" class="">
</defanged_div></p><p class=""><defanged_div class=""><br class="">
</defanged_div></p><defanged_div class=""><p class=""><defanged_div dir="auto" class=""><br class="">
</defanged_div></p><defanged_div class=""><div class=""><br class="webkit-block-placeholder"></div><defanged_div class=""><p class=""><defanged_div id="mail-editor-reference-message-container" dir="auto" class=""><br class="">
</defanged_div></p><hr tabindex="-1" defanged_style="display:inline-block; width:98%" class=""><p class=""><defanged_div id="divRplyFwdMsg" style="font-size:11pt" class=""><strong class="">From:</strong> Christos Zoulas <<a href="mailto:christos@zoulas.com" class="">christos@zoulas.com</a>><br class="">
<strong class="">Sent:</strong> Thursday, September 1, 2022, 06:47<br class="">
<strong class="">To:</strong> M G P <<a href="mailto:tateusg@hotmail.com" class="">tateusg@hotmail.com</a>><br class="">
<strong class="">Cc:</strong> <a href="mailto:tcsh@astron.com" class="">tcsh@astron.com</a> <<a href="mailto:tcsh@astron.com" class="">tcsh@astron.com</a>><br class="">
<strong class="">Subject:</strong> Re: [Tcsh] Compliments to the developers and contributors.<br class="">
</defanged_div></p><defanged_div class="">
<br class="">
There are lots of problems and races in the way csh (and tcsh) evaluates commands and pipelines. Some of them are really hard to fix (see
<a href="https://bugs.astron.com/" class="">https://bugs.astron.com</a>). Also parsing is not robust since the shell only recognizes keywords at the beginning of lines in some cases...
<p class=""><defanged_div class=""><br class="">
</defanged_div></p><defanged_div class=""><p class=""><defanged_div class="">Best,</defanged_div></p><defanged_div class=""><p class=""><defanged_div class=""><br class="">
</defanged_div></p><defanged_div class=""><p class=""><defanged_div class="">christos<br class="">
</defanged_div></p><p class=""><defanged_div class=""><br class="">
</defanged_div></p><blockquote type="cite" class=""><p class=""><defanged_div class="">On Aug 31, 2022, at 6:01 PM, M G P <<a href="mailto:tateusg@hotmail.com" class="">tateusg@hotmail.com</a>> wrote:</defanged_div></p><defanged_div class="">
<br class="Apple-interchange-newline"><p class=""><defanged_div class="">
</defanged_div></p><p class=""><defanged_div class="">I wrote a guide on how to use the C Shell, in the hope it'll serve as a guide on how to adequately write scripts, as well as to encourage people on not giving up:
<a href="https://gist.github.com/Krush206/bfcfd760be645150bb247f051e98c9d3" class="">
https://gist.github.com/Krush206/bfcfd760be645150bb247f051e98c9d3</a>
</defanged_div></p><p class=""><br class="">
</p><div class=""><br class="webkit-block-placeholder"></div><p class=""><br class="">
</p><p class=""><defanged_div class=""><br class="webkit-block-placeholder">
</defanged_div></p><defanged_div class="">
<hr tabindex="-1" class=""><p class=""><font face="Calibri, sans-serif" class="" style="font-size:11pt"><b class="">From:</b> Tcsh <<a href="mailto:tcsh-bounces@astron.com" class="">tcsh-bounces@astron.com</a>> on behalf of M G P <<a href="mailto:tateusg@hotmail.com" class="">tateusg@hotmail.com</a>><br class="">
<b class="">Sent:</b> Tuesday, August 16, 2022 1:20:16 PM<br class="">
<b class="">To:</b> <a href="mailto:tcsh@astron.com" class="">tcsh@astron.com</a> <<a href="mailto:tcsh@astron.com" class="">tcsh@astron.com</a>><br class="">
<b class="">Subject:</b> Re: [Tcsh] Compliments to the developers and contributors.</font>
</p><div class=""> <br class="webkit-block-placeholder"></div><p class=""><defanged_div class=""><br class="webkit-block-placeholder">
</defanged_div></p><defanged_div class=""><div class=""><br class="webkit-block-placeholder"></div><div class=""><br class="webkit-block-placeholder"></div><p class=""><a href="https://en.m.wikipedia.org/wiki/Special:MobileDiff/1102822365" class="">https://en.m.wikipedia.org/wiki/Special:MobileDiff/1102822365</a></p><p class="">Why do they think multi-line aliases aren't possible?</p><div class=""><br class="webkit-block-placeholder"></div><p class="">alias function 'if -e \!$ then\</p><p class="">echo OK\</p><p class="">else\</p><p class="">echo Not OK\</p><p class="">endif'</p><p class="">function dir</p><p class=""><br class="">
</p><p class="">I can also make it into a variable:</p><p class="">set function = 'if -e \!$ then\</p><p class="">echo OK\</p><p class="">else\</p><p class="">echo Not OK\</p><p class="">endif\</p><p class="">:'</p><p class="">eval $function:q dir</p><p class=""><br class="">
</p><p class=""><defanged_div class=""><br class="webkit-block-placeholder">
</defanged_div></p><defanged_div class=""><p class=""><br class="">
</p>
<hr tabindex="-1" class=""><p class=""><strong class="">From:</strong> Tcsh <<a href="mailto:tcsh-bounces@astron.com" class="">tcsh-bounces@astron.com</a>> on behalf of M G P <<a href="mailto:tateusg@hotmail.com" class="">tateusg@hotmail.com</a>><br class="">
<strong class="">Sent:</strong> Monday, January 31, 2022, 05:52<br class="">
<strong class="">To:</strong> <a href="mailto:tcsh@astron.com" class="">tcsh@astron.com</a> <<a href="mailto:tcsh@astron.com" class="">tcsh@astron.com</a>><br class="">
<strong class="">Subject:</strong> Re: [Tcsh] Compliments to the developers and contributors.<br class="">
</p>
<br class=""><p class="">And I'm very proud to find another, better workaround to the criticism in the Wikipedia webpage:<br class="">
</p><div class=""><br class="webkit-block-placeholder"></div><p class=""># Always creates an empty file<br class="">
</p><p class="">if (! -e myfile) echo mytext > myfile<br class="">
</p><p class=""># Workaround<br class="">
</p><p class="">if (! -e myfile) eval "echo mytext > myfile"<br class="">
</p><p class=""><a href="https://en.wikipedia.org/wiki/Special:MobileDiff/1069012614" class="">My workaround</a>:<br class="">
</p><p class="">( ( : < myfile ) >& /dev/null && echo File exists. ) || ( ( echo mytext > myfile ) >& /dev/null && echo File created. ) || ( echo Cannot create file. )<br class="">
</p><p class=""><br class="">
</p><div class=""><br class="webkit-block-placeholder"></div><p class=""><br class="">
</p><p class=""><defanged_div class=""><br class="webkit-block-placeholder">
</defanged_div></p><defanged_div class=""><p class=""><br class="">
</p>
<hr tabindex="-1" class=""><p class=""><strong class="">From:</strong> Tcsh <<a href="mailto:tcsh-bounces@astron.com" class="">tcsh-bounces@astron.com</a>> on behalf of M G P <<a href="mailto:tateusg@hotmail.com" class="">tateusg@hotmail.com</a>><br class="">
<strong class="">Sent:</strong> Wednesday, December 22, 2021, 03:05<br class="">
<strong class="">To:</strong> <a href="mailto:tcsh@astron.com" class="">tcsh@astron.com</a><br class="">
<strong class="">Subject:</strong> [Tcsh] Compliments to the developers and contributors.<br class="">
</p>
<br class=""><p class="">Hello.</p><p class="">Just did like to leave a comment in here, thanking the developers and contributors of Tcsh.</p><p class=""><br class="">
</p><p class="">The C Shell is such a brilliant work from Bill Joy, and Tcsh makes a great enhancement and continuation to it. Furthermore, the C Shell is the only Shell out there which resembles the Thompson and Mashey Shells, which (unfortunately) were superseded
 by the Bourne Shell.<br class="">
</p><p class=""><br class="">
</p><p class="">I'm not a long-time Tcsh user, however, after learning it, it really fascinated me - so much that I keep wondering how some dislike it.</p><p class="">To be fair, Tcsh taught me how to write scripts with security in mind, due its "limitations". The "limitations" imposed by the C Shell make it one of the most reliable Shells to work with, and I should not complain, but thank for that. (E.g: nesting
 commands is impossible; there are better ways to achieve what one want, without nesting commands.)</p><div class=""><br class="webkit-block-placeholder"></div><p class=""><br class="">
</p><p class="">I really have no complaints to C Shell or Tcsh, but I must thank each of you who keep the development of an old brilliant gem from Bill Joy and Ken Greer up.</p><p class="">Thank you very much for your time and effort!</p><p class=""><br class="">
</p><p class="">P.S: the complaints from a Perl developer in <a href="http://faqs.org/" class="">
faqs.org</a> are plain petty; something I learned very quickly is that most things can be worked-around with sub-shells or named FIFOs.</p><p class=""><defanged_div class=""><br class="webkit-block-placeholder">
</defanged_div></p><defanged_div class="">
<br class=""><p class=""><defanged_div class=""><br class="webkit-block-placeholder">
</defanged_div></p><defanged_div class="">
<br class=""><p class=""><defanged_div class=""><br class="webkit-block-placeholder">
</defanged_div></p><defanged_div class=""><p class=""><defanged_div class=""><br class="webkit-block-placeholder">
</defanged_div></p><defanged_div class=""><div class=""><br class="webkit-block-placeholder"></div><defanged_div class="">
-- <br class="">
Tcsh mailing list<br class="">
<a href="mailto:Tcsh@astron.com" class="">Tcsh@astron.com</a><br class="">
<a href="https://mailman.astron.com/mailman/listinfo/tcsh" class="">https://mailman.astron.com/mailman/listinfo/tcsh</a><br class="">
<defanged_span id="cid:84060ACD-55FE-4187-9887-8AD53C20F065" class=""><sanitizer.log></defanged_span><div class=""><br class="webkit-block-placeholder"></div><defanged_div class="">
</defanged_div></defanged_div></defanged_div></defanged_div></defanged_div></defanged_div></defanged_div></defanged_div></defanged_div></defanged_div></defanged_div></blockquote><div class=""><br class="webkit-block-placeholder"></div><defanged_div class="">
<br class=""><div class=""><br class="webkit-block-placeholder"></div><defanged_div class="">
<br class=""><div class=""><br class="webkit-block-placeholder"></div><defanged_div class="">
</defanged_div></defanged_div></defanged_div></defanged_div></defanged_div></defanged_div></defanged_div></defanged_div></defanged_div></defanged_div></defanged_div></defanged_div></defanged_div></defanged_div></defanged_div></div>

<span id="cid:FF80B2A8-706D-4E5D-9E8B-BF0D6AB22614"><sanitizer.log></span></div></blockquote></div><br class=""></div></div></body></html>