Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Awk Split Question
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kaz Kylheku  
View profile  
 More options Sep 15 2012, 1:23 am
Newsgroups: comp.unix.shell
From: Kaz Kylheku <k...@kylheku.com>
Date: Sat, 15 Sep 2012 05:23:42 +0000 (UTC)
Local: Sat, Sep 15 2012 1:23 am
Subject: Re: Awk Split Question
On 2012-09-15, Beery <mentorbe...@gmail.com> wrote:

> I have a file containing rows like

> MemTotal:     32959876 kB\nMemFree:        309820 kB\nBuffers:        563784 kB...

LOL! See the "Simple Query" here:

http://rosettacode.org/wiki/Category:TXR

Note that that code will work even if the fields of /proc/meminfo are
reordered, and interspersed with fields that you don't need.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.