>From 9c50321d8cde4026124f631b39d2632fe66eff6f Mon Sep 17 00:00:00 2001
From: qiaonuohan <qiaonuohan@cn.fujitsu.com>
Date: Tue, 18 Sep 2012 11:23:58 +0800
Subject: [PATCH] clean command line from pipe

---
 cmdline.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/cmdline.c b/cmdline.c
index da4fd81..0459e72 100755
--- a/cmdline.c
+++ b/cmdline.c
@@ -133,6 +133,7 @@ process_command_line(void)
         } else {
         	if (fgets(pc->command_line, BUFSIZE-1, stdin) == NULL)
 			clean_exit(1);
+		clean_line(pc->command_line);
 		strcpy(pc->orig_line, pc->command_line);
         }
 
-- 
1.7.1

