Re: [ast-users] Regression in ksh93v-: echo does no longer accept escape sequences

2013-08-02 Thread PHILIPP, Axel, Dr.
in addition to Werner Fink's patch I need another patch:
--- src/lib/libast/port/astconf.c.ori   2013-06-24 21:22:25.0 +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: ast-users@lists.research.att.com; '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
ast-users@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-users


Re: [ast-users] Regression in ksh93v-: echo does no longer accept escape sequences

2013-08-02 Thread PHILIPP, Axel, Dr.
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

My PATH starts with 
/yaprod/override/Linux_x86_64/bin:/bin:/usr/bin:/opt/kde3/bin:/usr/sbin:, 
rebuilding and starting ksh93v- with PATH=/usr/bin:/bin: did not change 
anything.

Any advice on how I can modify the build procedure or change the behavior at 
runtime is appreciated.

Best Regards
Axel Philipp

-Ursprüngliche Nachricht-
Von: Glenn Fowler [mailto:g...@research.att.com]
Gesendet: Freitag, 2. August 2013 00:03
An: PHILIPP, Axel, Dr.; g...@research.att.com; olga.kryzhanov...@gmail.com
Cc: ast-users@lists.research.att.com
Betreff: Re: [ast-users] Regression in ksh93v-: echo does no longer accept 
escape sequences


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.
>  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
ast-users@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-users


Re: [ast-users] Regression in ksh93v-: echo does no longer accept escape sequences

2013-08-01 Thread Simon Toedt
On Fri, Aug 2, 2013 at 12:03 AM, Glenn Fowler  wrote:
>
> 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

Would you mind of documenting this in a NOTES section of the echo
--man output, please? This is useful information :)

Simon
___
ast-users mailing list
ast-users@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-users


Re: [ast-users] Regression in ksh93v-: echo does no longer accept escape sequences

2013-08-01 Thread Glenn Fowler

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.
>  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
> > ast-users@lists.research.att.com
> > http://lists.research.att.com/mailman/listinfo/ast-users

> -- 
>   ,   __   ,
>  { \/`o;-Olga Kryzhanovska   -;o`\/ }
> .'-/`-/ olga.kryzhanov...@gmail.com   \-`\-'.
>  `'-..-| /   http://twitter.com/fleyta \ |-..-'`
>   /\/\ Solaris/BSD//C/C++ programmer   /\/\
>   `--`  `--`

___
ast-users mailing list
ast-users@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-users


Re: [ast-users] Regression in ksh93v-: echo does no longer accept escape sequences

2013-07-29 Thread Dr. Werner Fink
On Mon, Jul 29, 2013 at 11:23:17AM +0200, ольга крыжановская 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.

To make it more clear, the ksh93u 2012-08-01 is compiled with

 UNIVERSE=att

and some patches to make sure that this survices the autoconfigure.
Also there is patch for the echo/print builtin to have the common
options known from the bash around (regardless ATT).

   Werner


-- 
  "Having a smoking section in a restaurant is like having
  a peeing section in a swimming pool." -- Edward Burr
--- src/cmd/ksh93/bltins/print.c
+++ src/cmd/ksh93/bltins/print.c	2008-05-05 11:20:21.0 +
@@ -105,7 +105,11 @@ static char* 	nullarg[] = { 0, 0 };
{
 	static char bsd_univ;
 	struct print prdata;
-	prdata.options = sh_optecho+5;
+# if defined(__linux__)
+	prdata.options = sh_optecho;
+# else
+	prdata.options = sh_optecho + 5;
+# endif
 	prdata.raw = prdata.echon = 0;
 	prdata.sh = context->shp;
 	NOT_USED(argc);
@@ -118,7 +122,52 @@ static char* 	nullarg[] = { 0, 0 };
 		prdata.sh->universe = 1;
 	}
 	if(!bsd_univ)
+	{
+# if defined(__linux__)
+		char *opt = argv[1];
+		while ((opt = argv[1]) && (*opt == '-'))
+		{
+			int c;
+
+			opt++;
+
+			for (c = 0; opt[c]; c++)
+#  if !SHOPT_ECHOE
+if (strchr("neE", opt[c]) == 0)
+#  else
+if (strchr("n", opt[c]) == 0)
+#  endif /* SHOPT_ECHOE */
+	break;
+
+			if (*opt == 0 || opt[c])
+break;
+
+			while ((c = *opt++))
+			{
+switch (c) {
+case 'n':
+	prdata.echon = 1;
+	break;
+#  if !SHOPT_ECHOE
+case 'e':
+	prdata.raw = 0;
+	break;
+case 'E':
+	prdata.raw = 1;
+	break;
+#  endif /* SHOPT_ECHOE */
+default:
+	goto out;
+	break;
+}
+			}
+
+			argv++;
+		}
+	out:
+# endif
 		return(b_print(0,argv,(Shbltin_t*)&prdata));
+	}
 	prdata.options = sh_optecho;
 	prdata.raw = 1;
 	while(argv[1] && *argv[1]=='-')


pgpXcWruwM6d8.pgp
Description: PGP signature
___
ast-users mailing list
ast-users@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-users


Re: [ast-users] Regression in ksh93v-: echo does no longer accept escape sequences

2013-07-29 Thread David Korn
cc: axel.phil...@mtu.de
Subject: Re: Re: [ast-users] Regression in ksh93v-: echo does no longer accept  
escape sequences


> In this context I would like to understand, why ksh complains about 
> unbalanced a
> postrophes in the following assignment:
> cp003421> aux='ab\'c d\'ef'
> 

\ is not special inside '...' si that this the second ' terminates the
quoted string and the second \ which is in fron of ' quotes it so
that it is not seen as a quote.
aux=$'ab\'c d\'ef'
is equivalent to "ab\'c d\'ef" in C.


David Korn
d...@research.att.com
___
ast-users mailing list
ast-users@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-users


Re: [ast-users] Regression in ksh93v-: echo does no longer accept escape sequences

2013-07-29 Thread PHILIPP, Axel, Dr.
Thanks, Olga.
ksh93v -c 'echo -e "\nTest\n"' and ksh93v -c "echo $'\nTest\n'" also work, but 
we don't want to change all scripts.

In this context I would like to understand, why ksh complains about unbalanced 
apostrophes in the following assignment:
cp003421> aux='ab\'c d\'ef'
>
cp003421> aux="ab\"c d\"ef"  does work

only this does work: aux='ab'\''c d'\''ef' or aux=ab\''c d'\'ef (I 
intentionally do not want to mix single and double quotes)

Best Regards
Axel Philipp


-Ursprüngliche Nachricht-
Von: ольга крыжановская [mailto:olga.kryzhanov...@gmail.com]
Gesendet: Montag, 29. Juli 2013 11:25
An: PHILIPP, Axel, Dr.; Glenn Fowler
Cc: ast-users@lists.research.att.com
Betreff: Re: [ast-users] Regression in ksh93v-: echo does no longer accept 
escape sequences

Axel, the work around is to use the POSIX printf utility/builtin, or
it's print sibling (has more options, see print --man). printf(1) has
standard behaviour on all platforms, and is tested on regular basis
against the test suites of the standards.

Olga

On Mon, Jul 29, 2013 at 11:23 AM, ольга крыжановская
 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.
>  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
>>
>
>
>
> --
>   ,   __   ,
>  { \/`o;-Olga Kryzhanovska   -;o`\/ }
> .'-/`-/ olga.kryzhanov...@gmail.com   \-`\-'.
>  `'-..-| /   http://twitter.com/fleyta \ |-..-'`
>   /\/\ Solaris/BSD//C/C++ programmer   /\/\
>   `--`  `--`



--
  ,   __   ,
 { \/`o;-Olga Kryzhanovska   -;o`\/ }
.'-/`-/ olga.kryzhanov...@gmail.com   \-`\-'.
 `'-..-| /   http://twitter.com/fleyta \ |-..-'`
  /\/\ Solaris/BSD//C/C++ programmer   /\/\
  `--`  `--`
--
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
ast-users@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-users


Re: [ast-users] Regression in ksh93v-: echo does no longer accept escape sequences

2013-07-29 Thread ольга крыжановская
Axel, the work around is to use the POSIX printf utility/builtin, or
it's print sibling (has more options, see print --man). printf(1) has
standard behaviour on all platforms, and is tested on regular basis
against the test suites of the standards.

Olga

On Mon, Jul 29, 2013 at 11:23 AM, ольга крыжановская
 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.
>  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
>> ast-users@lists.research.att.com
>> http://lists.research.att.com/mailman/listinfo/ast-users
>
>
>
> --
>   ,   __   ,
>  { \/`o;-Olga Kryzhanovska   -;o`\/ }
> .'-/`-/ olga.kryzhanov...@gmail.com   \-`\-'.
>  `'-..-| /   http://twitter.com/fleyta \ |-..-'`
>   /\/\ Solaris/BSD//C/C++ programmer   /\/\
>   `--`  `--`



-- 
  ,   __   ,
 { \/`o;-Olga Kryzhanovska   -;o`\/ }
.'-/`-/ olga.kryzhanov...@gmail.com   \-`\-'.
 `'-..-| /   http://twitter.com/fleyta \ |-..-'`
  /\/\ Solaris/BSD//C/C++ programmer   /\/\
  `--`  `--`
___
ast-users mailing list
ast-users@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-users


Re: [ast-users] Regression in ksh93v-: echo does no longer accept escape sequences

2013-07-29 Thread ольга крыжановская
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.
 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
> ast-users@lists.research.att.com
> http://lists.research.att.com/mailman/listinfo/ast-users



-- 
  ,   __   ,
 { \/`o;-Olga Kryzhanovska   -;o`\/ }
.'-/`-/ olga.kryzhanov...@gmail.com   \-`\-'.
 `'-..-| /   http://twitter.com/fleyta \ |-..-'`
  /\/\ Solaris/BSD//C/C++ programmer   /\/\
  `--`  `--`
___
ast-users mailing list
ast-users@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-users


[ast-users] Regression in ksh93v-: echo does no longer accept escape sequences

2013-07-29 Thread PHILIPP, Axel, Dr.

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
ast-users@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-users