Mark Young wrote:
> A little off topic but are -a and -e identical?
As file existence tests, yes. -a also serves as logical "and".
Mark Young wrote:
> Hi,
>
> I stumbled into discovering that the -e test for a file does not
> report the file as existing if the file is a dead symbolic link.
It's documented in the bash manpage under "CONDITIONAL EXPRESSIONS".
Unless otherwise specified, primaries that operate on files fol
Linda Walsh wrote:
>
> I have a small function in my bashrc:
>
> function showsize () {\
> local s=$(stty size); local o="(${s% *}x${s#* })"; s="${#o}";\
> echo -n $o; while ((s-- > 0));do echo -ne "\b"; done; \
> }
> export -f showsize
> trap showsize SIGWINCH
> ---
> That has the effect of