[Tcsh] [UCE] tcsh-6.24.08 is now available

Kimmo Suominen kim at netbsd.org
Sat Apr 15 08:54:17 UTC 2023


On Sat, 15 Apr 2023 at 11:47, Kimmo Suominen <kim at netbsd.org> wrote:
> ------------------------
> > setsid -w sh -c 'tcsh -f -c "echo #no comment"'
> #no comment
> > setsid -w sh -c 'tcsh -f -c "echo #no comment"' < /dev/null
>
> ------------------------
>
> I understand the "$edit" case, but I don't understand the "#no comment" case.

But I guess it has to do with ed_Init() somehow as well, because
making the shell interactive with the "-i" flag makes a difference:

------------------------
: beowulf:~; setsid -w sh -c 'tcsh -f -i -c "echo #no comment"' < /dev/null
#no comment
------------------------


More information about the Tcsh mailing list