Search Results

Search: Posts Made By: one_ring99
Forum: Solaris 04-10-2008
11,342
Posted By one_ring99
Thanks for the tips. The degree of randomness...
Thanks for the tips.
The degree of randomness is not critical for me, so the print $RANDOM is fine.
I found Perderabo's script too, but it's probably more than I need at this stage.

Thanks again...
Forum: Solaris 04-09-2008
11,342
Posted By one_ring99
Does Solaris have a random number generator?
I am trying to find a way to generate random numbers within a shell script.
Does Solaris have a utility that will generate random numbers?

Thanks in advance.
B
6,247
Posted By one_ring99
Wow radoulov, That's brilliant. It works...
Wow radoulov,
That's brilliant. It works perfectly.
This is going to save me so much laborious editing.
I can't thank you enough for your efforts.

Regards
Bob :)
6,247
Posted By one_ring99
No luck I'm afraid. The file comes from a third...
No luck I'm afraid. The file comes from a third party development system, and I need to create a live schema from it with different storage criteria. I'd also use the syntax to change tablespace...
6,247
Posted By one_ring99
Apologies for the confusion in the original...
Apologies for the confusion in the original problem statement. I should have given more detail.
The file I am processing contains SQL statements (It's from an Oracle database export).
For each...
6,247
Posted By one_ring99
The awk script works great thanks, but I've...
The awk script works great thanks, but I've discovered that there may be instances where there is no line of '65536' between the 'alter' lines.
Is there any way to skip to the next 'alter', if a...
6,247
Posted By one_ring99
Thanks radoulov. There may be any number of...
Thanks radoulov.
There may be any number of records between the
alter and 65536, so your awk code is on the mark.
I'll check it out first thing tomorrow (and yes, I'm on Solaris)
Do the two...
6,247
Posted By one_ring99
Complex sed replacement
Hi,
I have a file that I would like to translate using sed.
I can do some basic sed commands, but Im afraid this level is beyond me.
I have this file -
...alter...
..
...65536...
......
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 08:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy