Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Ammendmend to fix #6524 - Redirects of fd needs space before '>' (just like in bash) #6533

Merged
merged 1 commit into from
Jan 19, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libr/core/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1658,7 +1658,7 @@ static int r_core_cmd_subst_i(RCore *core, char *cmd, char *colon) {
/* r_cons_flush() handles interactive output (to the terminal)
* differently (e.g. asking about too long output). This conflicts
* with piping to a file. Disable it while piping. */
if (ptr > cmd) {
if (ptr > (cmd+1) && iswhitechar (ptr[-2])) {
char *fdnum = ptr - 1;
if (*fdnum == 'H') {
scr_html = r_config_get_i (core->config, "scr.html");
Expand Down