View Issue Details

IDProjectCategoryView StatusLast Update
0000282tcsh[All Projects] Generalpublic2021-11-14 17:35
ReporterkatoAssigned Tochristos 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
PlatformGNU/Linux x86_64OSOpen SuSE LeapOS Version15.3
Product Version 
Target VersionFixed in Version 
Summary0000282: tcsh 6.20.00 : shell variable "anyerror" does not work as described in the tcsh man page
DescriptionIf "anyerror" is set, the exit status of a non-simple command should be non-zero if any subcommand fails. However, this does not hold in any case.
Steps To Reproduce/home/test> tcsh --version
tcsh 6.20.00 (Astron) 2016-11-24 (x86_64-unknown-linux) options wide,nls,lf,dl,al,kan,sm,color,filec
/home/test> cat non-existent-file|cat
cat: non-existent-file: No such file or directory
Exit 1
/home/test> set variable=`cat non-existent-file`
cat: non-existent-file: No such file or directory
Exit 1
/home/test> set variable=`cat non-existent-file|cat`
cat: non-existent-file: No such file or directory
/home/test> echo $?
0
TagsNo tags attached.

Activities

christos

2021-11-14 17:35

manager   ~0003676

set x=`cat /does/not/exist`
should set status to 1 and does not.

Issue History

Date Modified Username Field Change
2021-08-15 13:51 kato New Issue
2021-11-14 17:35 christos Assigned To => christos
2021-11-14 17:35 christos Status new => assigned
2021-11-14 17:35 christos Status assigned => confirmed
2021-11-14 17:35 christos Note Added: 0003676