bug-readline
[Top][All Lists]
Advanced

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

[Bug-readline] readline-5.1+ has inconsistent echo behavior


From: Mike Frysinger
Subject: [Bug-readline] readline-5.1+ has inconsistent echo behavior
Date: Sun, 24 Feb 2008 22:16:51 -0500
User-agent: KMail/1.9.7

starting with readline-5.1, the echo behavior from stdin seems to be 
inconsistent.  the simple test case:
$ cat readline-test.c
#include <stdio.h>
#include <readline/readline.h>
int main() { readline(NULL); }
$ gcc readline-test.c -lreadline -o readline-test
$ echo test > test
$ cat test | ./readline-test
$ ./readline-test < test
test

shouldnt the behavior be the same whether the file is being piped or 
redirected ?
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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