The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



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 numbers from 0 to 1000 wakhan Shell Programming and Scripting 2 07-15-2008 08:41 AM
How to set constrain on random numbers in c ahjiefreak High Level Programming 6 01-11-2008 04:46 AM
Random number generation in ksh mervin2006 UNIX for Dummies Questions & Answers 2 04-27-2007 03:02 AM
Random number generation tej.buch High Level Programming 1 02-13-2006 10:07 AM
Random numbers without repetition asal_email UNIX for Dummies Questions & Answers 8 07-14-2005 05:02 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-25-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,313
It is not clear and we can't proof it. So I guess someone just writes it for him or not That the example is taken form the Adv. Bash S.G. is nor positive nor negative, just wanted to mention it cause I felt like it.

That he asks for a Perl solution could come of that I wrote in my 2nd post, that there is for sure some handy random function in Perl already:

Quote:
Maybe there is already some nice random function in Perl.
Since he already might have given up searching for a solution in shell script because no one wrote a solution yet nor he might have found one on the net yet, he just asks for one.
There are people asking for much simpler stuff they could even find with 10 seconds googling, so...
Also there are sometimes much more rude or demanding posts that get answers from the helpful folks so that I personally think if someone has a solution, maybe just post it and it's over.
  #2 (permalink)  
Old 11-25-2008
Konerak Konerak is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 20
I'll even write it in perl for him if he can convince me it's not homework. But you learn a lot more from trying yourself (and having your mistakes corrected) than reading other peoples code.

There's lots of "other peoples code" on the web, too
Closed Thread

Bookmarks

Tags
shell script, shell scripting, unix scripting, unix scripting basics

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:51 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0