[ale] Split

Geoffrey Myers lists at serioustechnology.com
Tue Mar 13 15:18:09 EDT 2012


On 03/13/2012 03:07 PM, Erik Mathis wrote:
> Are you sure its not one long line? your pager or editor might be
> wrapping it. Also the line feeds in the file may windows or Mac line
> feeds. some conversion will need to be done if that's the case.
> dos2unix is one tool to do that for you.

Pretty sure Mac and Linux have the same line feeds.

>
> -Erik-
>
> On Tue, Mar 13, 2012 at 12:10 PM, gcs8<gcsviii at gmail.com>  wrote:
>> In a BSD system, I'm trying to split a text file every 12 lines, but every
>> time I run split -l 12 text splittext, it just spits out the whole file
>> again with a different name. Split, Y U NO WORK?
>>
>>
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
>>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo


-- 
Until later, Geoffrey

"I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them."
- Thomas Jefferson


More information about the Ale mailing list