bug-bash
[Top][All Lists]
Advanced

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

a problem of mapfile


From: Ma Shimiao
Subject: a problem of mapfile
Date: Fri, 11 Jan 2013 22:21:55 +0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0

Configuration Information :
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -D$ uname output: Linux ubuntu 3.2.0-35-generic #55-Ubuntu SMP Wed Dec 5 17:45:18 UTC 2012 i6$
Machine Type: i686-pc-linux-gnu

Bash Version: 4.2
Patch Level: 24
Release Status: release

Description:
I'm trying to use command mapfile.But there is something confused me.
I used commands as follows:
$seq 5 | mapfile -C echo -c1
0 1

1 2

2 3

3 4

4 5

I would have expectd 1,2,3,4,5 above from the"help mapfile".
Is it a bug of  mapfile?




reply via email to

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