説明:
The AWK programming language.
|
|
|
phonetic.awk
|
| |
An interesting take on phonetics/vowels/consonants. ...BEGIN { srand() password_len = 5 if (password_len < 3 || password_len > 9) { print "\nEnter a number 3 to 9...\n" exit } print password(password_len) ...function password(num, vwl, cns, tmp, bln, j) { vwl = "aeiou" # vowels... 詳細»
|
|
Jeremy Shum sex tape with Brooke Fraser
|
| |
My Opinion: The Jeremy Shum Vs. Math’s Worldwide Lawsuit February 5, 2010 Posted by disneyator in Uncategorized. Tags: australia, australia law, commerce, criminal proceedings, directors, gaol, jeremy shum, kevin rudd, mathemagic, maths worldwide, maths worlwide, mike rann, recession, trade practices act... 詳細»
|
|
Experimental gawk version, *with debugger*, now available
|
| |
awk 'BEGIN { print "hello, word" }' I am pleased to announce the availability of a test version of gawk. This version uses a byte-code execution engine, and most importantly, it includes a debugger that works at the level of awk statements! The distribution is available at [link]... 詳細»
|
|
gtk-server make error
|
| |
root @ Homer /export/home/gtk-server-2.3.1- sr>./build This script compiles the GTK-server and installs it on your system. Do you want to continue (y/n)?y *** Running configure for standalone GTK-server *** checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes... 詳細»
|
|
regexp question
|
| |
Just wondering (still [l]earning my way)... Is it considered bad practice (under gawk) to mix string variables & regexp like so: sub("^" var "[[:blank:]]*", "") While it seems to work perfectly fine, the context of the leading circumflex strikes me as being evaluated as a string rather than the beginning of a line as... 詳細»
|
|
Average from files
|
| |
I have many files like this: ... 46.875000 -53.332619 70.312500 -77.246521 93.750000 -80.251801 117.187500 -80.879486 140.625000 -80.588089 164.062500 -80.807175 ... The first column is identical in all files. From all the files I want to generate a single file where the first column is unchanged, but the... 詳細»
|
|
gtk-server make error
|
| |
.. .. The GTK-server will be built with gcc as a standalone executable using Foreign Function Calls (FFCALL). Now run 'make' and 'make install' to build and install the GTK-server. root @ Homer /export/home/unix.d/sources.d/ gtk-server-2.3.1-sr>make rm -f gtk-server *.a *.o *.log so_locations gcc -Wall -pedantic -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include... 詳細»
|
|
debit credit matching lines..
|
| |
I have a file with 5 fields...like... fld1 fld2 fld3 fld4 fld5 ========================= 29/05/2009|DB C|RA| 30000.00| .00 13/05/2009|CR C|YK| .00| 3009.00 29/05/2009|CR C|RA| .00| 30000.00 12/05/2009|DB C|D0| 707.00| .00 13/05/2009|CR C|GO| .00| 707.00... 詳細»
|
|
Awk script configuration
|
| |
I would like to configure "awk script" with a pattern to search. This is my code that doesn't work : 1) extract_line_with_pattern.awk : #! /usr/bin/awk -f /[,&][ \t]*PATTERN[ \t]*=[ \t]*/ { print } 2) execution commands : extract_line_with_pattern.awk -v PATTERN="red" > red.txt... 詳細»
|
|
|