How do we intercept and redirect file saving or output to stdout directly in
bash, just like e.g
xkbcomp $DISPLAY
will output and generated a file, but what needed is to put it directly to
stream of stdout which will be piped once.
Tried,
$ xkbcomp $DISPLAY >(cat)
Error:Cannot open "
George R Goffe writes:
> Shouldn't there be a message about no file found presented by bash?
> There appears to be NO indication that filename completion has failed
> to find a file.
I'm not very experienced using filename completion, but my understanding
is that completion indicates "there is no
Date:Sun, 23 Aug 2020 04:58:16 -0700 (MST)
From:almahdi
Message-ID: <1598183896339-0.p...@n7.nabble.com>
| that needs to be used in such that dir. name is put in a way say:
|
| n="~/foo bar"
n=~/'foo bar'
or if you prefer n="${HOME}/foo bar" since ~/ is the s
that needs to be used in such that dir. name is put in a way say:
n="~/foo bar"
if forced to do
$ pushd "$n"
when used in such
$ popd
bash: popd: ~/foo bar: No such file or directory
Any sincere guide to solve is invaluable helpful
--
Sent from: http://gnu-bash.2382.n7.nabble.com/