![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| $random | relle | Shell Programming and Scripting | 6 | 07-11-2008 06:59 AM |
| FTP random files | whegra | Shell Programming and Scripting | 3 | 11-21-2007 05:22 PM |
| Random | keyvan | Shell Programming and Scripting | 8 | 05-24-2007 01:11 PM |
| Getting a random file | davidY | Shell Programming and Scripting | 6 | 01-01-2007 05:03 AM |
| random in ksh | pascalbout | AIX | 1 | 01-04-2006 10:53 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Help with AWK and RANDOM please
Hi, here's what I'm trying to do,
I used awk to separate numbers from a file into a list like this: 4536 23426 452 7647 35637 35635 35653 Now I need to randomly select one of this numbers, and make it a variable. Any ideas on how to do this?? Thank you! |
|
||||
|
Thanks! Will this only select one of the numbers from the list?
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|