[rhelv6-list] csh question

Bob Arendt rda at rincon.com
Mon Nov 12 23:20:42 UTC 2012


On 11/12/12 08:21, Mark Workman wrote:
> On Mon, Nov 12, 2012 at 9:47 AM, Mark Workman <workmam at kramergraphics.com
> <mailto:workmam at kramergraphics.com>> wrote:
>
>> We received this info a software vendor (below). Ican?t find anything
>
>> about this patch onRedhat?s web site. Does anyone know where I might
>
>> find this patch?
>
>> We are running RES6.32.6.32-262.el6.x86_64
>
>>csh ?-version returns tcsh-6.17.00/bin/csh is linked to /bin/tcsh
>
>> Any tips or guidance is greatly appreciated.
>
>> Mark
>
>> -----------------------------------------------------------
>
>> This is a problem with /bin/csh.I don't have much more detail than
>
>> to say that /bin/csh needs to be patched.Another customer saw this
>
>> and also found thatRedHat has a fix for it.
>
>>
>
>> A more specific description of the issue is: It does not return the
>
>> correct exit status from commands run inside `backquotes`.
>
> This appears to have been fixed in RHBA-2012:0687
> (https://rhn.redhat.com/rhn/errata/details/Details.do?eid=15602).
>
> You probably need to update your 'tcsh' package to version 6.17-16 or later.
>
> --
>
> Jonathan Billings <jsbillin at umich.edu <mailto:jsbillin at umich.edu>>
>
> College of Engineering - CAEN - Unix and Linux Support
>
> Will do this. Thanks for the quick help.
>
> Mark
>
>

However, the current release has a bug that breaks a lot of legacy scripts:
  source command fails with single-line if-statement
https://bugzilla.redhat.com/show_bug.cgi?id=847102
This bugzilla has a couple of patches (either remove the broken patch,
or there's an attached patch file that corrects the actual problem.

The previous bug where RedHat changed the pipe status to make more posix-like
(really? csh?) was bug 658190.  If desired, the posix-like behavior can
be enabled with a "set" variable.

Cheers,
-Bob Arendt




More information about the rhelv6-list mailing list