According to ksh93(1), I will agree with you. But given that FIGNORE only 
affects filename completion in other shells (at least in bash, zsh), do you 
think it is reasonable or considerable to be introduced into ksh93? Is it 
really useful to affect wildcard char "*" and the command like "rm -f *"?

lin

> This is not a bug.  When set, FIGNORE is a shell
> patter that contains
> the names to ignore.  If unset, . and .. are ignored.
> 
>       FIGNORE=@(~|.|..)
> will ignore ~ . and ..
> 
> However, since FIGNORE=~ expands to the home
> directory, and since
> FIGNORE is a name pattern, not a path pattern, it
> should not match
> anything.  Thus, FIGNORE=~ is equivalent to
>  FIGNORE='' which
> auses all names to be visible including . and .. . 
> 
> David Korn
> dgk at research.att.com
> _______________________________________________
> shell-discuss mailing list
> shell-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/shell-dis
> cuss
--
This message posted from opensolaris.org

Reply via email to