eless: Not able to pipe into eless
OS: MacOS 10.12.6 Shell: fish 2.5.0/bash 4.4.0(1)-release
rob ~/b/eless master ± ls
CONTRIBUTING.org README.org doc eless.org
LICENSE.md build eless
rob ~/b/eless master ± emacs --version
GNU Emacs 25.3.1
Copyright (C) 2017 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
rob ~/b/eless master ± echo 'test' | ./eless -D
Eless Version f2eee31 (commit hash of current master~1)
https://github.com/kaushalmodi/eless/tree/master
DEBUG: --> Input from pipe/file
DEBUG: Output to terminal -->
DEBUG: var : -D
DEBUG: Raw Args : -D
DEBUG: Emacs Args : -nw
DEBUG: Pipe Contents (up to 10 lines) : test
DEBUG: Temp File : emacs-stdin-rob.HJxNpaJ
--tmpdir
DEBUG: first_line_piped_data = test
usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--color=when]
[--context[=num]] [--directories=action] [--label] [--line-buffered]
[--null] [pattern] [file ...]
usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--color=when]
[--context[=num]] [--directories=action] [--label] [--line-buffered]
[--null] [pattern] [file ...]
usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--color=when]
[--context[=num]] [--directories=action] [--label] [--line-buffered]
[--null] [pattern] [file ...]
DEBUG: No man page or info manual detected
DEBUG: Eless Command : emacs_Q_view_mode emacs-stdin-rob.HJxNpaJ
--tmpdir -nw --eval '(progn
(set-visited-file-name nil)
(rename-buffer "*Stdin*" :unique))'
DEBUG: Args passed to emacs_Q_view_mode : emacs-stdin-rob.HJxNpaJ
A GUI emacs opens without anything in it.
rob ~/b/eless master ± ls
--tmpdir build emacs-stdin-rob.HJxNpaJ
CONTRIBUTING.org doc emacs-stdin-rob.HJxNpaJ?--tmpdir
LICENSE.md eless
README.org eless.org
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 20 (12 by maintainers)
Commits related to this issue
- Attempt to fix temp file generation on Mac OS https://github.com/kaushalmodi/eless/issues/18 — committed to kaushalmodi/eless by kaushalmodi 6 years ago
@mobyte0 Do you want to update to the latest
masterand try again?I have successfully installed GNU grep on Homebrew and I’m on version 3.1. I would recommend listing the needed version of grep in the requirements.
While I’m not getting the grep errors anymore, the empty GUI emacs opens again.