tech-userlevel archive

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

Re: split(1): add '-c' to continue creating files



Martin Husemann <martin%duskware.de@localhost> wrote:

> How about instead adding an option that sets the first name explicitly
> and keeps the "abort on failure" behaviour?

Setting the first name is a good alternative.  I'll
have to see how that works with specifying a prefix
(e.g., user specified a first file that doesn't match
the prefix), but I'll give it a look later.

> Besides, isn't your intended behaviour easily done with:
> 
>  $ cat file second-file | split
> 
> ?

That only works if I have both files available at the
time I run the split command.  I also have cases where
I split one file and only later want to split a second
file but produce output files continuing the sequence.

-Jan


Home | Main Index | Thread Index | Old Index