Re: Limit on "fmt" buffer size? Loose much of long line.
From: rc (rc_at_networkz.ch)
Date: 09/12/04
- Next message: Alex Fraser: "Re: Limit on "fmt" buffer size? Loose much of long line."
- Previous message: Aharon Robbins: "Re: Geez - is Solaris /usr/bin/awk brain dead or what?"
- In reply to: Fred Ma: "Re: Limit on "fmt" buffer size? Loose much of long line."
- Next in thread: Alex Fraser: "Re: Limit on "fmt" buffer size? Loose much of long line."
- Reply: Alex Fraser: "Re: Limit on "fmt" buffer size? Loose much of long line."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 12 Sep 2004 01:00:41 -0700
Fred Ma <fma@doe.carleton.ca> wrote in message news:<4143AD74.B2BF63D@doe.carleton.ca>...
> I would probably be better off picking up some perl basics
> to script a line chopper. The problem is, good Perl books are in high
> demand, and one never gets to borrow it from the library for long.
> Fred
Hi Fred
Maybe this is already enough for you:
rc@caja:~ $ cat /tmp/test.txt
12 3 44 55 12 23 234
rc@caja:~ $ perl -pe 's/ /\n/g' < /tmp/test.txt
12
3
44
55
12
23
234
rc@caja:~ $
Then pipe it to tail - should work.
Best regards
Christian
- Next message: Alex Fraser: "Re: Limit on "fmt" buffer size? Loose much of long line."
- Previous message: Aharon Robbins: "Re: Geez - is Solaris /usr/bin/awk brain dead or what?"
- In reply to: Fred Ma: "Re: Limit on "fmt" buffer size? Loose much of long line."
- Next in thread: Alex Fraser: "Re: Limit on "fmt" buffer size? Loose much of long line."
- Reply: Alex Fraser: "Re: Limit on "fmt" buffer size? Loose much of long line."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]