sorry for the delay on responding
this will show the universe setting
getconf UNIVERSE
the universe is similar to gnu's POSIXLY_CORRECT and handle parts of std
utilities
that are "undefined" or "implementation-dependent"
"att" and "ucb" are the expected values
ast source for the most part checks for "att" for system-5 style
ksh also check for "ucb" for berkley style
this can change the setting for the current shell and children
getconf UNIVERSE - ucb
the setting is maintained in an _*_ env var so its not tamper proof
the initial setting is done in src/lib/libast/port/astconf.c
by looking at the PATH env var checking for system-5-ish and berkley-ish dirs
from left to right
the leftmost one wins
if its "att" then echo groks neither \ nor -options, otherwise it does
On Mon, 29 Jul 2013 11:23:17 +0200 =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= wrote:
> I can confirm the problem on Suse Linux 12.3, but not on Solaris 11/i386.
> I think the magic switch in AST echo which selects the proper
> emulation mode (BSD, SYSV) is broken.
> Glenn, how again can I affect the UNIVERSE setting in AST? There was a
> magic, hidden, environment variable to do it.
> Olga
> On Mon, Jul 29, 2013 at 11:10 AM, PHILIPP, Axel, Dr.
> <[email protected]> wrote:
> >
> > Version AJM 93u+ 2012-08-01 :
> > cp003421 > ksh -c 'echo "\nTest\n"'
> >
> > Test
> >
> >
> > Version AIJM 93v- 2013-07-24 :
> > cp003421 > ksh93v -c 'echo "\nTest\n"'
> > \nTest\n
> > cp003421 > cat /etc/SuSE-release
> > SUSE Linux Enterprise Desktop 11 (x86_64)
> > VERSION = 11
> > PATCHLEVEL = 2
> >
> >
> > Best Regards
> > Axel Philipp
> >
> > --
> > 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
> --
> , _ _ ,
> { \/`o;====- Olga Kryzhanovska -====;o`\/ }
> .----'-/`-/ [email protected] \-`\-'----.
> `'-..-| / http://twitter.com/fleyta \ |-..-'`
> /\/\ Solaris/BSD//C/C++ programmer /\/\
> `--` `--`
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users