10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Team,
I have an issue to split the file which is having special chracter(German Char) using awk command.
I have a different length records in a file. I am separating the files based on the length using awk command.
The command is working fine if the record is not having any... (7 Replies)
Discussion started by: Anthuvan
7 Replies
2. Shell Programming and Scripting
Hi All,
I have a file which has hundred of records with fixed number of fields. In each record there is set of 8 characters which represent the duration of that activity. I want to sum up the duration present in all the records for a report. The problem is the duration changes per record so I... (5 Replies)
Discussion started by: danish0909
5 Replies
3. Shell Programming and Scripting
Hi
I have variable A_B=alpha
also var1="A"
var2="B"
I want to retrieve the value alpha using var1 and var2 , somthing like
echo ${${var1}_${var2}} that works. Obviously this is receiving syntax
error (6 Replies)
Discussion started by: sumir
6 Replies
4. Shell Programming and Scripting
Hi,
Can anyone help with a effective solution ?
I need to change a variable length text field (between 1 - 18 characters) to a fixed length text of 18 characters with the unused portion, at the end, filled with spaces.
The text field is actually field 10 of a .csv file however I could cut... (7 Replies)
Discussion started by: dc18
7 Replies
5. Linux
Hi,
I've got a small problem.
If varible A stores "B" and Variable B stores C,
How to get the value of variable B by using only Variable A..?
I tried the following but didnt work pease help..
$ var1=vikram
$ echo $var1
vikram
$ vikram=sampath
$ echo $vikram
sampath
$ echo... (6 Replies)
Discussion started by: vickramshetty
6 Replies
6. Shell Programming and Scripting
Dear all,
I have basic knowledge of Unix script and her I am trying to process variable length and variable format CSV file.
The file length will depend on the numbers of Earnings/Deductions/Direct Deposits.
And
The format will depend on whether it is Earnings/Deductions or Direct Deposits... (2 Replies)
Discussion started by: chechun
2 Replies
7. Shell Programming and Scripting
Very, very new to unix scripting and have a unique situation. I have a file of records that contain 3 records types:
(H)eader Records
(D)etail Records
(T)railer Records
The Detail records are 82 bytes in length which is perfect. The Header and Trailer records sometimes are 82 bytes in... (3 Replies)
Discussion started by: jclanc8
3 Replies
8. UNIX for Dummies Questions & Answers
Hi, all.
I need to convert a file tab delimited/variable length file in AIX to a fixed lenght file delimited by spaces. This is the input file:
10200002<tab>US$ COM<tab>16/12/2008<tab>2,3775<tab>2,3783
19300978<tab>EURO<tab>16/12/2008<tab>3,28523<tab>3,28657
And this is the expected... (2 Replies)
Discussion started by: Everton_Silveir
2 Replies
9. UNIX for Advanced & Expert Users
Using bash, I'm trying to read a .properties file (name=value pairs), assigning an indirect variable reference for each line in the file.
The trick is that a property's value string may contain the name of a property that occurred earlier in the file, and I want the name of the 1st property to... (5 Replies)
Discussion started by: tkrussel
5 Replies
10. Shell Programming and Scripting
Is there a command that sets a variable length?
I have a input of a variable length field but my output for that field needs to be set to 32 char.
Is there such a command?
I am on a sun box running ksh
Thanks (2 Replies)
Discussion started by: r1500
2 Replies
Stormbaan Coureur(6) Stormbaan Coureur(6)
NAME
stormbaancoureur - simulated obstacle course for automobiles
SYNOPSIS
stormbaancoureur [options]
DESCRIPTION
Your objective is to drive your car along an obstacle course. Success depends on total control of the car. If you want to master it, try to
have the laws of physics work with you, not against you.
OPTIONS
stormbaancoureur accepts the standard glutInit options for your system.
The X Window System specific options parsed by glutInit are as follows:
-display DISPLAY
Specify the X server to connect to. If not specified, the value of the DISPLAY environment variable is used.
-geometry W x H + X + Y
Determines where window's should be created on the screen. The parameter following -geometry should be formatted as a standard X
geometry specification. The effect of using this option is to change the GLUT initial size and initial position the same as if glu-
tInitWindowSize or glutInitWindowPosition were called directly.
-iconic
Requests all top-level windows be created in an iconic state.
-indirect
Force the use of indirect OpenGL rendering contexts.
-direct
Force the use of direct OpenGL rendering contexts (not all GLX implementations support direct rendering contexts). A fatal error is
generated if direct rendering is not supported by the OpenGL implementation.
If neither -indirect or -direct are used to force a particular behavior, GLUT will attempt to use direct rendering if possible and
otherwise fallback to indirect rendering.
-gldebug
After processing callbacks and/or events, check if there are any OpenGL errors by calling glGetError. If an error is reported, print
out a warning by looking up the error code with gluErrorString. Using this option is helpful in detecting OpenGL run-time errors.
-sync Enable synchronous X protocol transactions. This option makes it easier to track down potential X protocol errors.
Debian-specific options:
-fullscreen
Run the game in fullscreen mode
-window
Run the game inside a window
SEE ALSO
You can find more about the game on its homepage: http://bram.creative4vision.nl/stormbaancoureur/
AUTHOR
The game has been written by Bram Stolk, and is distributed under the GNU General Public License, either version 2 of the License, or (at
your option) any later version.
Stormbaan Coureur(6)