Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16797
| Path | csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail |
|---|---|
| From | almahdi <budikusasi@gmail.com> |
| Newsgroups | gnu.bash.bug |
| Subject | How do we intercept file saving or output to stdout directly |
| Date | Sun, 23 Aug 2020 23:17:32 -0700 (MST) |
| Lines | 25 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.936.1598249862.2469.bug-bash@gnu.org> (permalink) |
| References | <1598249852364-0.post@n7.nabble.com> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Trace | usenet.stanford.edu 1598249862 16152 209.51.188.17 (24 Aug 2020 06:17:42 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| To | Bug-bash@gnu.org |
| Envelope-to | Bug-bash@gnu.org |
| Received-SPF | softfail client-ip=162.253.133.57; envelope-from=budikusasi@gmail.com; helo=n7.nabble.com |
| X-detected-operating-system | by eggs.gnu.org: First seen = 2020/08/24 02:17:37 |
| X-ACL-Warn | Detected OS = Mac OS X [generic] [fuzzy] |
| X-Spam_score_int | 19 |
| X-Spam_score | 1.9 |
| X-Spam_bar | + |
| X-Spam_report | (1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665, SPOOFED_FREEMAIL=1.245 autolearn=no autolearn_force=no |
| X-Spam_action | no action |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <https://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <1598249852364-0.post@n7.nabble.com> |
| Xref | csiph.com gnu.bash.bug:16797 |
Show key headers only | View raw
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 "/dev/fd/63" to write keyboard description
Exiting
$ xkbcomp $DISPLAY /dev/stdout
Error: Cannot open "/dev/stdout" to write keyboard description
Exiting
Anyone experience or have insight on this ?
--
Sent from: http://gnu-bash.2382.n7.nabble.com/
Back to gnu.bash.bug | Previous | Next | Find similar
How do we intercept file saving or output to stdout directly almahdi <budikusasi@gmail.com> - 2020-08-23 23:17 -0700
csiph-web