Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   ubuntu awk issue? (http://www.linux-archive.org/ubuntu-user/614688-ubuntu-awk-issue.html)

Rajeev Prasad 12-28-2011 07:56 PM

ubuntu awk issue?
 
friends,
when i am trying to use awk against a file with very long records (about 230 fields separated by comma) - the first record is either messed up or is completely printed. after that records print fine. sometimes though very rarely this issue happens with records in between too. I tried mawk and nawk also but same issue.
can anyone advice what could be the issue?
Linux xxddffc 2.6.35-31-generic #63-Ubuntu SMP Mon Nov 28 19:23:11 UTC 2011 i686 GNU/Linux

lrwxrwxrwx 1 root root 21 2011-01-25 11:39 /usr/bin/awk -> /etc/alternatives/awk
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Steve Flynn 12-29-2011 09:21 AM

ubuntu awk issue?
 
On 28 December 2011 20:56, Rajeev Prasad <rp.neuli@yahoo.com> wrote:
> friends,
>
> when i am trying to use awk against a file with very long records (about 230
> fields separated by comma) - the first record is either messed up or is
> completely printed. after that records print fine. sometimes though very
> rarely this issue happens with records in between too. I tried mawk and nawk
> also but same issue.
>
> can anyone advice what could be the issue?

Can you show us some code, some example data and an example of a
"messed up" record?

--
Steve

When one person suffers from a delusion it is insanity. When many
people suffer from a delusion it is called religion.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


All times are GMT. The time now is 01:02 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.