Search the web
Sign In
New User? Sign Up
geeksthatgawk · for GNU Awk questions & discussions
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 47 - 76 of 221   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
47
This is the msplit script that splits a unix mailbox file into many separate files. Could someone please help me translating it to gawk? Daniel msplit.pl ...
Daniel Ajoy
daniel_ajoy
Offline Send Email
Dec 11, 2002
7:30 pm
48
... Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com...
Peter S Tillier
peter_tillier
Offline Send Email
Dec 11, 2002
9:06 pm
49
... You are the geek! :) It worked exactly like "msplit.pl". I made some modifications. Code follows: #!/bin/awk # msplit splits a unix mailbox file into many...
Daniel Ajoy
daniel_ajoy
Offline Send Email
Dec 12, 2002
5:21 am
50
... Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com...
Peter S Tillier
peter_tillier
Offline Send Email
Dec 12, 2002
7:03 am
51
Is there an archive of comp.lang.awk? A place from where I can download all the posts in tar.gz format? Daniel...
Daniel Ajoy
daniel_ajoy
Offline Send Email
Dec 13, 2002
4:59 pm
52
... The only URL I had is now 404. I'll look around and see if I can find another. Nitallica...
Nitallica <nitallica@...
nitallica
Offline Send Email
Dec 13, 2002
5:04 pm
53
... I just woke up, so forgive the brain-fart ... You know, you can easily search Google's Usenet archive for any previous posts in comp.lang.awk. :)...
Nitallica <nitallica@...
nitallica
Offline Send Email
Dec 13, 2002
5:07 pm
54
... Yes but I want to download it all. Then, is there a way to download all the posts for a certain newsgroup from google? Daniel...
Daniel Ajoy
daniel_ajoy
Offline Send Email
Dec 13, 2002
6:02 pm
55
Hello listers, can anybody tell me wether and how the 'system' function will accept the 'start' command (on a xp box)? All I want is to open a local saved web...
1ns0mn1a
victorvasile
Offline Send Email
Jan 1, 2003
8:31 pm
56
... Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com...
Peter S Tillier
peter_tillier
Offline Send Email
Jan 1, 2003
11:24 pm
57
joi 1/2/2003 Peter S Tillier a scris despre: "[Geeks that Gawk] system()" ... yes, a lot :-( all I get is this message: "start: mypage.html is not a valid ...
1ns0mn1a
victorvasile
Offline Send Email
Jan 2, 2003
8:06 pm
58
... Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com...
Peter S Tillier
peter_tillier
Offline Send Email
Jan 3, 2003
12:01 am
59
I wanted to stop that insanity and re-installed my XP. Now the awk 'system' function seems to work normally. Sorry for bothering you with a non-awk problem... ...
1ns0mn1a
victorvasile
Offline Send Email
Jan 4, 2003
9:59 pm
60
Hello, I'm in need to write a parser script. To not re-invent the wheel, does anybody know of a sample I could use as a frame/template? The problem is that...
pheb62 <peterheberer@...
pheb62
Offline Send Email
Jan 29, 2003
5:16 pm
61
Hello friends, can anybody help a clueless awk newbie? Till now I used ocasionally some very basic gawk scripts and they worked fine. I'd like to use some of...
1ns0mn1a
victorvasile
Offline Send Email
Apr 23, 2003
7:54 am
62
... Sadly, gensub() is only available in gawk [like strftime(), mktime() and systime()], so the simple way to do this in other awks is often to use a ...
Peter S Tillier
peter_tillier
Offline Send Email
Apr 27, 2003
8:18 am
63
Hi guys, I have a record that will always start with the format : "Mnt D HH:MM:SS data data data" I would like to strip the first three fields,and put the rest...
Kev Smith
sync24uk
Offline Send Email
Apr 30, 2003
9:20 am
64
Hi Kevin, two possibilities that come to mind are: { for ( i = 4; i <= NF; i++ ) printf( "%s ", $i ); printf( "\n" ) } or if you always know exactly what the...
Maartens Lourens (WMR)
lourenwm@...
Send Email
Apr 30, 2003
12:31 pm
65
Thank you Maartens. ... [Non-text portions of this message have been removed]...
Smith, Kevin
sync24uk
Offline Send Email
Apr 30, 2003
1:05 pm
66
... If the data is separated by single spaces (as it seems to be from your example), then you could use cut: $ echo "Mnt D HH:MM:SS data data data" | cut -d" "...
Peter S Tillier
peter_tillier
Offline Send Email
Apr 30, 2003
10:24 pm
67
I have a file that lists all the sales transactions. Victor MAC 1500 James Mac 2500 Bill Shampoo 150 Victor PC 1000 Bill PC...
Victor Yu
vyu_sed
Offline Send Email
Jul 31, 2003
6:03 am
68
... What have you tried so far? Show us and we'll try to help. Peter S Tillier "Who needs perl when you can write dc, sokoban, arkanoid and an unlambda...
Peter S Tillier
peter_tillier
Offline Send Email
Jul 31, 2003
7:44 pm
69
Here is what I have: { revenue[$1,$2] += $3 sum += $3 } END { for (k in revenue) { split(k,x,SUBSEP) name = x[1] if (x[1] == name) { print x[1], x[2],...
CIS18B Instructor
vyu_sed
Offline Send Email
Jul 31, 2003
10:59 pm
70
I have an output file, ascii from a unix machine, where every field is on a new line with a line ---- Record Start ---- denoting the start of the record and...
timitty2000
Offline Send Email
Aug 1, 2003
3:03 pm
71
... Which doesn't give the required output that Victor asked for! $ cat CIS188.awk # CIS188.awk { revenue[$1,$2] += $3 sum += $3 } END { for (k in revenue) { ...
Peter S Tillier
peter_tillier
Offline Send Email
Aug 1, 2003
6:06 pm
72
Peter S Tillier wrote: Oops, sorry folks, I just realized that I posted the wrong code and output - it as from an earlier version. I'll send the corrected one...
Peter S Tillier
peter_tillier
Offline Send Email
Aug 1, 2003
6:33 pm
73
Peter, Thanks for the code. It works perfectly well. Victor Peter S Tillier <peter_tillier@...> wrote: Peter S Tillier wrote: Oops, sorry folks, I just...
CIS18B Instructor
vyu_sed
Offline Send Email
Aug 1, 2003
8:08 pm
74
Peter, One problem I found out with your code is the Mac's sales figure for James is missing from the report. $cat salesdata bill shampoo 250 james mac 3000 ...
CIS18B Instructor
vyu_sed
Offline Send Email
Aug 1, 2003
8:37 pm
75
... Yes, sorry that was the wrong code that I posted. I'll post the corrected one "real soon now". Apologies once again. Peter S Tillier "Who needs perl when...
Peter S Tillier
peter_tillier
Offline Send Email
Aug 2, 2003
7:55 am
76
Peter, I have come up with another version. It does not quite work yet. But here is the interaction and the code. $cat salesdata victor pc 2500 james pc 2400 ...
CIS18B Instructor
vyu_sed
Offline Send Email
Aug 2, 2003
10:48 pm
Messages 47 - 76 of 221   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2007 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help