bug-bash
[Top][All Lists]
Advanced

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

Re: export loses error


From: Lawrence Velázquez
Subject: Re: export loses error
Date: Mon, 8 Feb 2021 19:05:02 -0500

> On Feb 8, 2021, at 5:29 PM, gregrwm <rhn-users@greatlakedata.com> wrote:
> 
>  $ export vim=$HOME/.GVim-v8.2.2451.glibc2.15-x86_64.AppImage
>  $
>  $ vimV=$($vim --version)||echo handle error here              #without
> export, error is captured
> fuse: failed to exec fusermount: No such file or directory
> open dir error: No such file or directory
> handle error here
>  $
>  $ export vimV=$($vim --version)||echo handle error here       #with
> export, error is lost
> fuse: failed to exec fusermount: No such file or directory
> open dir error: No such file or directory
>  $

Not a bug. Kind of annoying, sure, but not a bug.

https://mywiki.wooledge.org/BashPitfalls#local_var.3D.24.28cmd.29

vq



reply via email to

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