[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: split behavior
From: |
Pádraig Brady |
Subject: |
Re: split behavior |
Date: |
Mon, 14 Sep 2009 17:29:26 +0100 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071008) |
Roger McNichols wrote:
>
> I found a machine with the old version of split.
>
> home:~> uname -a
> Linux home 2.2.13 #4 Thu May 8 23:11:31 CDT 2003 i686 unknown
> home:~>
> home:~> split --version
> split (GNU textutils) 1.22
> home:~>
>
>
> Here's the result of
> home:~> cat /var/log/messages | split -2 - /tmp/x.
>
> not exactly as I recalled. instead of adding zz first time, adds za but ends
> with yz,
> then starts adding zz... Anyway:
>
> x.aa
> x.ab
> ...
> x.yz
> x.zaaa
> x.zaab
> ...
> x.zyzz
> x.zzaaaa
> x.zzaaab
Interesting. I can confirm that textutils-1.22 behaves as above.
http://ftp.gnu.org/old-gnu/textutils/textutils-1.22.tar.gz
I'll have a look later this evening to see when/why this changed.
cheers,
Pádraig.
Re: split behavior, Pádraig Brady, 2009/09/11