Execution strange when get lines of the console in script with command substitution and the rediretion of the stderr.

2011-11-25 Thread QGZ
pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -g -O2 -Wall uname output: Linux QGZ 3.0.0-1-686-pae #1 SMP Sat Aug 27 16:41:03 UTC 2011 i686 GNU/Linux Machine Type: i486-pc-linux-gnu B

Re: Execution strange when get lines of the console in script with command substitution and the rediretion of the stderr.

2011-11-25 Thread QGZ
On Fri, Nov 25, 2011 at 10:27:07PM -0500, Chet Ramey wrote: > >On 11/24/11 11:48 AM, QGZ wrote: > >> Bash Version: 4.1 >> Patch Level: 5 >> Release Status: release >> >> >> >> Description: >> When I use "tput lines" to