in addition to Werner Fink's patch I need another patch:
--- src/lib/libast/port/astconf.c.ori   2013-06-24 21:22:25.000000000 +0200
+++ src/lib/libast/port/astconf.c       2013-08-02 14:15:58.210976000 +0200
@@ -784,7 +784,7 @@
                                synthesize(fp, path, value);
                }
                else
-                       initialize(fp, path, "echo", DEFAULT(OP_universe), 
"ucb");
+                       initialize(fp, path, "echo", DEFAULT(OP_universe), 
"att");
 #endif
 #endif
                break

This restores the behavior of echo. But I do not know whether it breaks 
something else.

While other writable getconf variables can be modified UNIVERSE cannot be 
changed (this applies to the SuSE ksh93 as well)

Best Regards
Axel Philipp

-----Ursprüngliche Nachricht-----
Von: PHILIPP, Axel, Dr.
Gesendet: Freitag, 2. August 2013 09:59
An: 'Glenn Fowler'
Cc: [email protected]; 'Dr. Werner Fink'
Betreff: AW: [ast-users] Regression in ksh93v-: echo does no longer accept 
escape sequences

In the SuSE built ksh93u+ I get

cp003421_home> echo $KSH_VERSION
Version AJM 93u+ 2012-08-01
cp003421_home> typeset -p _AST_FEATURES
typeset -x _AST_FEATURES='UNIVERSE - att'
cp003421_home> builtin getconf
cp003421_home> getconf UNIVERSE
att

and echo honors "\n..."

in the self made ksh93v- I get

cp003421_home> echo $KSH_VERSION
Version AIJM 93v- 2013-07-24
cp003421_home> typeset -p _AST_FEATURES
typeset -x _AST_FEATURES='UNIVERSE - ucb PATH_RESOLVE - physical'
cp003421_home> getconf UNIVERSE
ucb

However changing it does not work as described below:
cp003421_home> getconf -w
[...]
UNIVERSE=ucb
cp003421_home> getconf UNIVERSE - att
cp003421_home> getconf UNIVERSE
ucb

[...]

--
MTU Aero Engines AG
Geschaeftsfuehrung/Board of Management: Egon W. Behle, Vorsitzender/CEO; Dr. 
Rainer Martens, Michael Schreyögg, Dr. Stefan Weingartner, Reiner Winkler
Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Klaus 
Eberhardt
Sitz der Gesellschaft/Registered Office: Muenchen
Handelsregister/Commercial Register: Muenchen HRB 157206

Diese E-Mail sowie ihre Anhaenge enthalten MTU-eigene vertrauliche oder 
rechtlich geschuetzte Informationen.
Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte den 
Absender und loeschen Sie diese
E-Mail sowie die Anhaenge. Das unbefugte Speichern, Kopieren oder Weiterleiten 
ist nicht gestattet.

This e-mail and any attached documents are proprietary to MTU, confidential or 
protected by law.
If you are not the intended recipient, please advise the sender and delete this 
message and its attachments.
Any unauthorised storing, copying or distribution is prohibited.
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to