Awk help wanted in Germany 
Author Message
 Awk help wanted in Germany

A client of mine based in Nurnberg is slowly learning/using awk and
asked if there were any books written in German to help him

Thanks in advance

Mark
- - - -
Mark Katz
ISPC, London - Innovation in data-delivery tools
(44) 181-455 4665, Fax (44) 181-458 9554



Sun, 26 Jul 1998 03:00:00 GMT  
 Awk help wanted in Germany

Quote:

>A client of mine based in Nurnberg is slowly learning/using awk and
>asked if there were any books written in German to help him

        there are book in german. e.g from the ranzis-verlag
        if his local bookshop cant locate any book he shall
        change the shop of send me a mail.

        walter
--
-----
"I thought you liked humanity!"
"Oh, I do, I do!  Some of my best friends are humans!"
-----



Sun, 26 Jul 1998 03:00:00 GMT  
 Awk help wanted in Germany

comp.lang.awksters -

awk's rand() returns a random number between 0 and 1, and if i'm correct,
this number could be .023 or .561 or any decimal number between 1 and 0.
perl's rand() returns a random number between 0 and whatever number is shot
into the function.

Anyone have any good ideas on how to bang out intergers > 1 with awk's
rand()? thanks in advance.

--                                                           \\////////
 ==[ Dave Laskin                 Phone:1-905-387-0006     ]===| OiNk |====

 ==[ System Security Specialist  I play the Piano as well.]====\    /=====
   "are you alright? yes boo-boo, i'm fine. we're all fine." - (O  O)
                                                                ~~~~\



Sun, 26 Jul 1998 03:00:00 GMT  
 Awk help wanted in Germany

Quote:
> Anyone have any good ideas on how to bang out intergers > 1 with awk's
> rand()? thanks in advance.

This function will generate pseudo-random numbers between 1 and n:

function randint(n) {
  return int(rand() * n) + 1

Quote:
}

Neil

--
 _.-_|\     Neil Muspratt
/      QUT Technical Services Section          Tel : + 61 7 3864 2146
\_.--,_/  Faculty of Information Technology    Fax : + 61 7 3864 1959



Mon, 27 Jul 1998 03:00:00 GMT  
 Awk help wanted in Germany


Quote:
>awk's rand() returns a random number between 0 and 1, and if i'm correct,
>this number could be .023 or .561 or any decimal number between 1 and 0.
>perl's rand() returns a random number between 0 and whatever number is shot
>into the function.

>Anyone have any good ideas on how to bang out intergers > 1 with awk's
>rand()? thanks in advance.

rnumber=int(1000*rand())+1  <- or chose a (large) number other than 1000

An interesting statistical issue is whether multiplying rnumber
by a further rand() function will introduce yet more 'randomness'

Mark
- - - -
Mark Katz
ISPC, London - Innovation in data-delivery tools
(44) 181-455 4665, Fax (44) 181-458 9554



Mon, 27 Jul 1998 03:00:00 GMT  
 Awk help wanted in Germany

Quote:
> > Anyone have any good ideas on how to bang out intergers > 1 with awk's
> > rand()? thanks in advance.

> This function will generate pseudo-random numbers between 1 and n:

> function randint(n) {
>   return int(rand() * n) + 1
> }

aha. neato, thanx for the help.

--                                                           \\////////
 ==[ Dave Laskin                 Phone:1-905-387-0006     ]===| OiNk |====

 ==[ System Security Specialist  I play the Piano as well.]====\    /=====
   "are you alright? yes boo-boo, i'm fine. we're all fine." - (O  O)
                                                                ~~~~\



Mon, 27 Jul 1998 03:00:00 GMT  
 Awk help wanted in Germany

Quote:

>Anyone have any good ideas on how to bang out intergers > 1 with awk's
>rand()? thanks in advance.

Try something like this:

function random(upper_bound) {
    return 1 + int(rand() * upper_bound)

Quote:
}

        Gert


Tue, 28 Jul 1998 03:00:00 GMT  
 Awk help wanted in Germany

Quote:
Mark Katz writes:
>A client of mine based in Nurnberg is slowly learning/using awk and
>asked if there were any books written in German to help him

Gottfried Staubach: Unix-Werkzeuge zur Textmusterverarbeitung: Awk, Lex und
Yacc, Springer Verlag 1989, ISBN 3-540-51232-2.

It's an excellent book, the first third covering Regular expressions and Awk.
- Nevertheless, for a serious programmer I suggest additionally Aho,
Kernighan and Weinbergers "The Awk Programming Language".

R. Henze (henzehrz.uni-kassel.de)



Fri, 31 Jul 1998 03:00:00 GMT  
 Awk help wanted in Germany

    Mark> A client of mine based in Nurnberg is slowly learning/using
    Mark> awk and asked if there were any books written in German to
    Mark> help him

As far as I know, the O'Reilly book 'sed & awk' has been translated to
German.

All the best,

Max
--
------------------------------------------------------------------------------
Bruno Maximilian Schulze           | Institute of Natural Language Processing
Tel:  +49-711-121-1367             | University of Stuttgart
Fax:  +49-711-121-1366             | Azenbergstr. 12

URL: http://www.ims.uni-stuttgart.de/IMS.html
------------------------------------------------------------------------------



Fri, 31 Jul 1998 03:00:00 GMT  
 
 [ 11 post ] 

 Relevant Pages 

1. APL Consultant wanted in Germany

2. Smalltalk Professionals wanted in Germany!!!

3. OO-Professionals wanted in Germany

4. Wanted: Clipper/xBase programmer in Germany/Cologne area

5. VRML / HTML programmers wanted (Berlin/Germany)

6. ASM/C++ Gameprogrammer wanted in Germany

7. Game Programmer wanted in Germany

8. Germany: Smalltalk (VisualAge) developer wanted

9. Germany: Smalltalk (VisualAge) developer wanted

10. Arrays in awk/awk help please!

11. Help with Awk, totally new to AWK programing

12. AWK newbie is looking for a AWK help with his 1st program

 

 
Powered by phpBB® Forum Software