>> On Fri, 30 Dec 2011 15:09:13 + (UTC),
>> T o n g said:
T> I want to split a file every ### of chars. Is it possible not to split
T> on the word but word boundaries?
Yup, for certain meanings of "split". GNU fmt is part of "coreutils".
Here's sample.txt (rulers added for readabilit
T o n g wrote:
> I want to split a file every ### of chars. Is it possible not to split on
> the word but word boundaries?
Use Awk or Sed.
--
John Hasler
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.
On Fri, 30 Dec 2011 15:09:13 +, T o n g wrote:
> I want to split a file every ### of chars. Is it possible not to split
> on the word but word boundaries?
I was first thought in "awk" but Google suggested "fold":
sm01@stt008:~$ cat Desktop/text.txt
thisis a sample text file to seehow thescri
On Fri, Dec 30, 2011 at 10:12 PM, Christofer C. Bell
wrote:
> On Fri, Dec 30, 2011 at 12:03 PM, Kleber Fortaleza
> wrote:
>> On Friday 30 December 2011 13:09:13 T o n g wrote:
>>> Hi,
>>>
>>> I want to split a file every ### of chars. Is it possible not to split on
>>> the word but word boundarie
On Fri, Dec 30, 2011 at 12:03 PM, Kleber Fortaleza
wrote:
> On Friday 30 December 2011 13:09:13 T o n g wrote:
>> Hi,
>>
>> I want to split a file every ### of chars. Is it possible not to split on
>> the word but word boundaries?
>>
>> Thanks
> this shoud be what you want
>
> split -b
I can't
On Friday 30 December 2011 13:09:13 T o n g wrote:
> Hi,
>
> I want to split a file every ### of chars. Is it possible not to split on
> the word but word boundaries?
>
> Thanks
this shoud be what you want
split -b
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a sub
6 matches
Mail list logo