On Fri, Aug 2, 2013 at 12:03 AM, Glenn Fowler <[email protected]> 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
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to