Description:
The AWK programming language.
|
|
|
if-command
|
| |
Hi, I have an input file (input.dat): 0 0.24 0.35 0.5 0.6 0.2 0.12 1 0.4 0.2 0.45 0.55 0.3 0.40 2 0.3 0.3 0.4 0.4 0.45 0.5 3 0.2 0.1 0.4 0.5 0.34 0.2 then I use if command : awk '{if ($2 < 0.35) print $1, 1, $2, $3, $4, $5, $6, $7; else print $1, 0, $2, $3, $4, $5, $6, $7}' input.dat > output.dat... more »
|
|
Extracting part of a record ?
|
| |
Windows Gawk newbie here. Suppose I start with the following on one line..... Path: news.sunsite.dk!dotsrc.org!new s.net.uni-c.dk!aotearoa.belnet .be!news.belnet.be!newsfeed.kp n.net!pfeed09.wxs.nl!feeder.et ernal-september.org!eternal-se ptember.org!not-for-mail The data content AND width change AND there isn't the normal space... more »
|
|
field substitute from another file...
|
| |
I have two files like file1: id dept 123 555 123 777 123 555 321 888 321 999 321 111 231 582 231 592 231 986 file2 id dept 123 555 321 888 231 582 In file 1 id field is showing different dept numbers. But they are to be replaced with the equalent file2 dept filed. The oupt should be... more »
|
|
Re-ordering lines (records).
|
| |
Hi, Windows Gawk newbie here. Suppose one has data in the following style.. Line one : Line two : Line three : Line four : Line five : Line one : Line four : Line two : Line five : Line one : Line three : Line four : Line two : Line five : Line six : In other words some lines out of sequence, others missing and... more »
|
|
coverting list to table
|
| |
Hi All, Am new to using newgroup for help, but have exhausted my searching online for a solution I have a long list of data of associations between values with a value to that association as follows.. (var) to (var) = (var) hits A B 1 B A 1 A B 3 B A 3 A C 7 C A 2 And need to build a table as follows that accumulates the above:... more »
|
|
Chicas Sexis Desnudandose: Chicas Sexo Video
|
| |
============================== ============================== ============= ========= Haga clic aqui para Ver el video ========= VVVVVVVVVVVVVVVVVVVVVVVVVVVVVV VVVVVVVVVVVVVVVVVVVVVVVVVVVVVV VVVVVVVVVVVV ========= ENTER HERE: ========= ========= [link]... more »
|
|
|