10-27-2006
thanks! after a cloudy day, its a sunny one again!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
im having trouble doing this:
i have a variable with 2 characters repeating e.g. aababbbaaaababaabbaabbba
is there a way i can search the variable for a's and b's and then change a's to b's and b's to a's?
im guessing its like getting the 1's compliment of the string
im doing this in... (2 Replies)
Discussion started by: vipervenom25
2 Replies
2. Shell Programming and Scripting
Can someone help me to write a script / command to read in a file, character by character, replace any unknown ASCII characters with space. then write out the file to a new filename/
Thanks! (1 Reply)
Discussion started by: raghav525
1 Replies
3. Shell Programming and Scripting
Hi All,
I have a big log file i want to delete all characters (between 350th to 450th characters) starting at 350th character position to 450th character position.
please advice or sample code. (6 Replies)
Discussion started by: rajeshorpu
6 Replies
4. UNIX for Advanced & Expert Users
I want to know how to, given a string like W87151WR71C, if the 4th and 5th character (in this case 15) are greater than 45, then to add 1 to the 3rd character (in this case 7) and assign the revised string the variable name MODSTRING.
Thanks in advance. This is ultimately to grab info from... (6 Replies)
Discussion started by: glev2005
6 Replies
5. Shell Programming and Scripting
hello all
i request you to give the solution for the following problem..
I want read the text file.and print the contents character by character..like if the text file contains google means..i want to print
g
go
goo
goog
googl
google
like this Using unix Shell scripting...
without using... (1 Reply)
Discussion started by: samupnl
1 Replies
6. Shell Programming and Scripting
Hi All,
Was wondering how I can do the following....
I have a String as follows
"ACCTRL000005022RRWDKKEEDKDD...."
This string can be in a file called tail.out or in a Variable called $VAR2
Now I have another variable called $VAR1="000004785" (9 bytes long), I need the content of... (5 Replies)
Discussion started by: mohullah
5 Replies
7. Shell Programming and Scripting
Hi
Does anyone know how to set any character as the field separator with awk/nawk on a solaris 10 box. I have tried using /./ regex but this doesnt work either and im out of ideas.
thanks (7 Replies)
Discussion started by: chronics
7 Replies
8. Solaris
Trying to figure out the best method of security for oracle user accounts. In Solaris 10 they are set as regular users but have nologin set forcing the dev's to login as themselves and then su to the oracle users.
In Solaris11 we have the option of making it a role because RBAC is enabled but... (1 Reply)
Discussion started by: os2mac
1 Replies
9. Shell Programming and Scripting
I have a data file d0 that looks like this:
$cat d0
server1 running -n-cv- 8G 3.1% 1435d 15h
server2 running -n---- 8G 39% 660d 22h
server3 running -n--v- 8G 2.5% 1173d 6h
server4 running -n---- 8G 1.1% 1048d 20h... (2 Replies)
Discussion started by: jake0391S
2 Replies
10. Shell Programming and Scripting
Hi,
Anyone can help using SED searches a character string for a specified delimiter character, and returns a leading or trailing space/blank.
Text file :
"1"|"ExternalClassDEA519CF5"|"Art1"
"2"|"ExternalClass563EA516C"|"Art3"
"3"|"ExternalClass305ED16B8"|"Art9"
...
...
... (2 Replies)
Discussion started by: fspalero
2 Replies
LEARN ABOUT DEBIAN
glschool
glschool(6x) XScreenSaver manual glschool(6x)
NAME
glschool - a 3D schooling simulation
SYNOPSIS
glschool [-display host:display.screen] [-visual visual] [-window] [-root] [-wireframe] [-fps] [-delay number] [-nfish number] [-maxvel
number] [-minvel number] [-acclimit number] [-avoidfact number] [-matchfact number] [-centerfact number] [-targetfact number] [-minradius
number] [-momentum number] [-distexp number] [-goalchgf number] [-fog] [-drawgoal] [-drawbbox]
DESCRIPTION
Uses Craig Reynolds Boids algorithm to simulate a 3d school of fish. See <http://www.red3d.com/cwr/boids> for a description of the algo-
rithm and the original paper. This is a lightly modified version of the algorithm that supports goal attraction.
Many different behaviors are possible by tweaking the parameters. No sanity checking is performed on the command line params, so if you
want to use negative accelerations or minimum velocity that is larger than maximum velocity or that sort of thing, the simulation will try
to digest it.
It looks best with the highest number of fish that will give you an FPS of > 25 or so.
OPTIONS
-visual visual
Specify which visual to use. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual.
-window Draw on a newly-created window. This is the default.
-root Draw on the root window.
-delay number
Per-frame delay, in microseconds. Default: 20000 (0.020 seconds.).
-wireframe | -no-wireframe
Render in wireframe instead of solid.
-fps Display the current frame rate, CPU load, and polygon count.
-fog | -no-fog
Whether to show foggy (cloudy) water.
-drawgoal | -no-drawgoal
Whether to show the school's attraction goal.
-drawbbox | -no-drawbbox
Whether to show the bounding box.
-fog | -no-fog
Whether to show foggy (cloudy) water.
-nfish number
Number of fish. Defaults to 100
-acclimit number
Acceleration limit. Defaults to 8.0
-minvel number
Minimum velocity. Defaults to 1.0
-maxvel number
Minimum velocity. Defaults to 7.0
-goalchgf number
Goal change frequency. Defaults to 50 (frames)
-avoidfact number
Avoidance acceleration factor. Defaults to 1.5
-matchfact number
Match avg velocity acceleration factor. Defaults to 0.15
-centerfact number
School centering acceleration factor. Defaults to 0.1
-targetfact number
Target attraction acceleration factor. Defaults to 80
-distexp number
Distance weighting exponent. Defaults to 2.2
-momentum number
Momentum. Defaults to 0.9
ENVIRONMENT
DISPLAY to get the default host and display number.
XENVIRONMENT
to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.
SEE ALSO
X(1), xscreensaver(1)
COPYRIGHT
Copyright (C) 2005-2006 by David C. Lambert. Permission to use, copy, modify, distribute, and sell this software and its documentation for
any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright
notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this software
for any purpose. It is provided "as is" without express or implied warranty.
AUTHOR
David C. Lambert
X Version 11 5.15 (28-Sep-2011) glschool(6x)