Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
comp . lang . awk
This is a Usenet group - learn more
Find or start a Google Group about awk.
Group info
Language: English
Group categories:
Computers > Programming
More group info »
Active older topics
9 new of 9 - Nov 12
19 new of 19 - Nov 11
1 new of 1 - Nov 11
13 new of 13 - Nov 10
3 new of 3 - Nov 9
9 new of 9 - Nov 8
1 new of 1 - Nov 7
4 new of 4 - Nov 6
2 new of 2 - Nov 5
8 new of 8 - Nov 5
Related Groups
Using and programming the Unix shell.
Medium activity, Usenet
UNIX neophytes group.
Low activity, Usenet
Q&A for people programming under Unix.
Medium activity, Usenet
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 7928  Older »
Description: The AWK programming language.
 

print one blank line in a for cycle 
  Hi, I have this text file: $ cat aa.txt sd_1k_ | 3950 | 38 | 126 | 158 | 48 | 78 | 0.0557 ... sd_1l_ | 3950 | 38 | 79 | 74 | 26 | 38 | 0.1051 ... sd_1m__1trim | 3950 | 38 | 18 | 15 | 10 | 7 | 0.0114 | -0.0264 | 0.0150 | 0.0378 | -0.0233 | -0.6164... more »
By Luis P. Mendes  - 3:25pm - 1 new of 1 message    

awk - output first occurrence of <table>...</table> 
  Hi... i've tried to print only <table>...</table> part out of an html- document. Example: <html> <body> ... ... ... <table> <tr> <td>test1</td> </tr> </table> ... ... <table> <tr> <td>test2</td> </tr> </table> ... ...... more »
By gismo82  - 7:11am - 3 new of 3 messages    

Two functions to facilitate IPv4 address comparison 
  To generate reports from mail server log, I often need to sort IPv4 addresses. As the system sort is oriented to string comparison, the result of direct IPv4 address sorting would look out of place to human. For example, the sorting of 192.168.3.4 and 192.92.244.3 will produce: 192.168.3.4 192.92.244.3... more »
By Chih-Cherng Chin  - Nov 21 - 2 new of 2 messages    

scriplet calculates arbitrary resistor values 
  Hi there, Last few months I spend more time with soldering iron than keyboard, so here's a script for finding an arbitrary resistor value from two standard values in series or parallel combination -- it's a common issue in electronics design. Bash wrapper is used simply to read the command line input value,... more »
By Grant  - Nov 19 - 6 new of 6 messages    

easily omitting fields from print 
  Hi, is there any way to print out, e.g. , $2 $3 $4.... $LAST, i.e., just omitting $1 ? Thanks, ++pac.
By tyapca7  - Nov 19 - 20 new of 20 messages    

Q: Handling a monster pattern to match one of many words 
  I need to search a lot of files (over 1,000) and find all the lines that contain any of a moderately large number of words (over 500). When a line contains any of these words, I want to make them visible. To do this, I store the words in an array words[1 to n] and build up a pattern string of the form... more »
By mjc  - Nov 18 - 8 new of 8 messages    

Nested address ranges in awk 
  Here's what I want to do: I want to grab a block of text from 'from_pattern' to 'to_pattern', and with that block of text I want to print to screen the last column of those lines containing the secondary patterns 'local_pattern1' and 'local_pattern2'. I.e. something like this: .../from_pattern/,/to_pattern/ {... more »
By haakon  - Nov 18 - 16 new of 16 messages    

codelines.awk 
  Wrote a quick & dirty line counter for my scripts, but noted: If the final line of the file that's being counted contains an empty newline, its excluded. So... either only consecutive empty lines (excepting the final line) are considered, or I'm not understanding something with this script: { CMT="#"... more »
By mss  - Nov 15 - 10 new of 10 messages    

sorting 
  Since I promised Tim Menzies I'd try to get involved in awk.info, I'm considering posting the code below as an example of using functions, arrays, string vs numeric comparison, etc. The sorting algorithm is O(n^2). If anyone feels like doing a more efficient equivalent, that'd make for an interesting comparison too. Any other feedback (especially... more »
By Ed Morton  - Nov 14 - 9 new of 9 messages    

runawk-0.18.0 has been released 
  I've released new version of runawk. ------------------------------ ------------------------------ WHAT IS RunAWK: runawk is a small wrapper for the AWK interpreter that helps one write standalone AWK scripts. Its main feature is to provide a module/library system for AWK which is somewhat similar to Perl's... more »
By Aleksey Cheusov  - Nov 11 - 1 new of 1 message    

1 - 10 of 7928   « Newer | Older »

XML      
Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google