bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: listing aliases


From: Chet Ramey
Subject: Re: listing aliases
Date: Mon, 02 Jun 2003 15:24:45 -0400

> Here is my patch to drop the initial alias string when the shell is in
> posix mode, thus not breaking stuff that expects the default behaviour.
> 
> POSIX says 'alias' should work like Korn 'alias', in my interpretation.
> 
> http://www.opengroup.org/onlinepubs/007904975/utilities/alias.html#tag_04_02_18
> 
> Is this a sensible suggestion or Not Clever?

I made a slightly different fix, but I agree that POSIX says to not
include the `alias' in the output.  It seems nonsensical to require
output that can't be directly re-used as input while requiring that
the ouptut be properly quoted.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )

Chet Ramey, ITS, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]