10-01-2003
Could you elaborate a wee bit more?
9 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
How i do i post a picture below my name as some of u have????
Is there a rule like only those who are moderators, administrators only can have a picture below their names???
If not, then kindly tell me how to post a picture below my name??
Thanks,
Nisha
:rolleyes: (44 Replies)
Discussion started by: Nisha
44 Replies
2. Shell Programming and Scripting
My shell script below for import data to Oracle
it run okay. but the text display not correct follow order command executed.
=========================Shell Script code=================
#!/bin/sh
#directory = ${1-'pwd'}
#run import data with SQLLoader
runSQLLoader()
{
... (2 Replies)
Discussion started by: raccsdl
2 Replies
3. Shell Programming and Scripting
Using sed or awk, I need to display text between two words/characters. Below are two example inputs and the desired output. In a nutshell, I need the date-range value between the quotes (but only the first occurance of date-range as there can be more than one).
Example One Input:
xml-report... (1 Reply)
Discussion started by: cmichaelson
1 Replies
4. Shell Programming and Scripting
I am writing script that can run on solaris 10, Linux Fedora and windows taht has cybwin installed.
I want to display a variable containing muli-line text.
using echo command, the variable display all rows in single line i.e. it loses the format.
Is there any other command that displays... (2 Replies)
Discussion started by: mmunir
2 Replies
5. Shell Programming and Scripting
Hi All,
please help me to display 5 continious lines from a particular text.
my file is as below.
file1.txt
------
Good
1
2
3
4
5
luck
1
2
3
I want to diplay 5 lines from the word Good. (4 Replies)
Discussion started by: little_wonder
4 Replies
6. Solaris
How do I set up my solaris 10 machine to display in text mode instead of graphics mode, permanently? (1 Reply)
Discussion started by: jastanle84
1 Replies
7. Shell Programming and Scripting
Hello.
I'm trying to create a web page which the presentation is as follows:
1 °) at the top of page an image
2 °) below the text
3 °) to complete a php function that returns information.
I tried different things but none work.
Script 1:
<!DOCTYPE html>
<html>
<head>
<style>
div {
... (5 Replies)
Discussion started by: jcdole
5 Replies
8. UNIX for Dummies Questions & Answers
I am running a Rasberry Pi using the Rasbpian OS. I have a program that develops a log file. If I look at the log file with a terminal session I can CAT it and it contains just what I expect. If I go to the desktop file manager and double click the file opening it with the text editor nothing... (3 Replies)
Discussion started by: barrygordon
3 Replies
9. Shell Programming and Scripting
I have not idea how I would accomplish this. I have a script that scans for CDP neighbours. I get the results in a file. I am interested in CDP Neighbor Details if name BSWITCH shows up. If BSWITCH is not present then skip.
CDP Neighbor Details for 10.200.21.1... (1 Reply)
Discussion started by: mrlayance
1 Replies
rand(3UCB) SunOS/BSD Compatibility Library Functions rand(3UCB)
NAME
rand, srand - simple random number generator
SYNOPSIS
/usr/ucb/cc[ flag ... ] file ...
int rand()
int srand( seed);
unsigned seed;
DESCRIPTION
rand() uses a multiplicative congruential random number generator with period 2**32 to return successive pseudo-random numbers in the range
from 0 to "2**31 -1."
srand() can be called at any time to reset the random-number generator to a random starting point. The generator is initially seeded with a
value of 1.
SEE ALSO
drand48(3C), rand(3C), random(3C)
NOTES
Use of these interfaces should be restricted to only applications written on BSD platforms. Use of these interfaces with any of the system
libraries or in multi-thread applications is unsupported.
The spectral properties of rand() leave a great deal to be desired. drand48(3C) and random(3C) provide much better, though more elaborate,
random-number generators.
The low bits of the numbers generated are not very random; use the middle bits. In particular the lowest bit alternates between 0 and 1.
SunOS 5.10 12 Feb 1993 rand(3UCB)