<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div></div>
<div style="color:rgb(33,33,33); background-color:rgb(255,255,255)" dir="auto">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.
<div dir="auto"><br>
</div>
<div dir="auto">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.</div>
<div dir="auto"><br>
</div>
Wasn't for my curiosity and persistence, I'd believe [T]csh is as bad as some put.
<br>
</div>
<div dir="auto" id="ms-outlook-mobile-signature">
<div><br>
</div>
<div dir="auto"><br>
</div>
</div>
<div id="mail-editor-reference-message-container" dir="auto"><br>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" style="font-size:11pt"><strong>From:</strong> Christos Zoulas <christos@zoulas.com><br>
<strong>Sent:</strong> Thursday, September 1, 2022, 06:47<br>
<strong>To:</strong> M G P <tateusg@hotmail.com><br>
<strong>Cc:</strong> tcsh@astron.com <tcsh@astron.com><br>
<strong>Subject:</strong> Re: [Tcsh] Compliments to the developers and contributors.<br>
</div>
<br>
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...
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class=""><br class="">
</div>
<div class="">christos<br class="">
<div><br class="">
<blockquote type="cite" class="">
<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:</div>
<br class="Apple-interchange-newline">
<div class="">
<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>
<p class=""><br class="">
</p>
<p class=""></p>
<p class=""><br class="">
</p>
<div class=""><br class="webkit-block-placeholder">
</div>
<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>
<p class=""> </p>
<div class=""><br class="webkit-block-placeholder">
</div>
<p class=""></p>
<p class=""></p>
<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>
<p class=""></p>
<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>
<div class=""><br class="webkit-block-placeholder">
</div>
<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>
<p class=""></p>
<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>
<p class=""></p>
<p class=""><br class="">
</p>
<div class=""><br class="webkit-block-placeholder">
</div>
<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>
<p class=""></p>
<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>
<div class=""><br class="webkit-block-placeholder">
</div>
<br class="">
<div class=""><br class="webkit-block-placeholder">
</div>
<br class="">
<div class=""><br class="webkit-block-placeholder">
</div>
<div class=""><br class="webkit-block-placeholder">
</div>
</div>
-- <br class="">
Tcsh mailing list<br class="">
<a href="mailto:Tcsh@astron.com" class="">Tcsh@astron.com</a><br class="">
https://mailman.astron.com/mailman/listinfo/tcsh<br class="">
<span id="cid:84060ACD-55FE-4187-9887-8AD53C20F065"><sanitizer.log></span></div>
</blockquote>
</div>
<br class="">
</div>
<br>
</div>
</body>
</html>