[Top][All Lists]

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

bash "while do echo" can't function correctly

From: 何建军
Subject: bash "while do echo" can't function correctly
Date: Wed, 13 Apr 2016 10:01:23 +0800

Hi, I use a very simple statement "cat test.txt | while read line; do echo $line; done", test.txt is very small, no more than 100 lines. but the execution of the statement paused during process. test.txt is pasted on http://paste.bradleygill.com/index.php?paste_id=1647399 address@hidden:/studio/desmond.he$ help | head -n 1 GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu) address@hidden:/studio/desmond.he$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS" Thanks for help~
reply via email to

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