[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: builtin read stops at '\0'
From: |
Ole Tange |
Subject: |
Re: builtin read stops at '\0' |
Date: |
Sat, 21 May 2011 21:24:52 +0200 |
On Thu, May 19, 2011 at 03:23:55PM +0200, Rafael Fourquet wrote:
> I have a program which outputs groups of filenames. Each group is separated
> by a newline, and within each group,
> each name is separated by '\0'.
Use GNU Parallel:
printf "ole\0tange\nfafael\0fourquet\n" | parallel --colsep '\0' echo {}
printf "ole\0tange\nfafael\0fourquet\n" | parallel --colsep '\0' echo {2}, {1}
/Ole
- Re: builtin read stops at '\0',
Ole Tange <=