11-12-2018
Yes - 3.2.25(1) is too old.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I am passing a variable to a unix function.
However when I try to assign the value to another variable like
typeset -i I_CACHE_VAL=$2
Is this because of String to Integer conversion?
I get an error.
Please help me with thsi.
Thanks (2 Replies)
Discussion started by: neeto
2 Replies
2. Shell Programming and Scripting
Hi,
i call my shell like:
my_shell "my project name"
my script:
#!/bin/bash -vx
projectname=$1
sed s/'PROJECT_NAME ='/'PROJECT_NAME = '$projectname/ <test_config_doxy >temp
cp temp test_config_doxy
the following error occurres:
sed s/'PROJECT_NAME ... (2 Replies)
Discussion started by: vivelafete
2 Replies
3. Shell Programming and Scripting
Can someone tell me how I can do this?
e.g:
a=$(echo -e wert trewt ertert ertert ertert erttert
erterte
rterter
tertertert
ert)
How do i replace the STRING with $a?
I try this:
sed -i 's/STRING/'"$a"'/g' filename.ext
but this don' t work (2 Replies)
Discussion started by: jforce
2 Replies
4. Shell Programming and Scripting
hi,
how to I do this?
i="4.000"
if ; then
echo "smaller"
fi
how do I convert the "4.000" to 4?
Thanks! (4 Replies)
Discussion started by: h0ujun
4 Replies
5. Shell Programming and Scripting
here is what i want to achieve... consider a file contains below contents. the file size is large about 60mb
cat dump.sql
INSERT INTO `table1` (`id`, `action`, `date`, `descrip`, `lastModified`) VALUES (1,'Change','2011-05-05 00:00:00','Account Updated','2012-02-10... (10 Replies)
Discussion started by: vivek d r
10 Replies
6. Shell Programming and Scripting
okay so i run an openssl command to get the date of an expired script. Doing so gives me this:
enddate=Jun 26 23:59:59 2012 GMT
Then i cut everything out and just leave the month which is "Jun"
Now the next part of my script is to tell the user if the the certificate is expired or not... (6 Replies)
Discussion started by: shade917
6 Replies
7. Shell Programming and Scripting
I have a log file that I want to archive out as it reaches 100MB. I am using the following to get the file size into a variable but get the error "line 5:
filesize=$(wc -c < logfile.log)
if
then
echo "is greater than 100M"
else
echo "is less than 100M"
fi
I'm sure there's something... (2 Replies)
Discussion started by: Flakman
2 Replies
8. Shell Programming and Scripting
I have a file1 with different with multiple fields and records
File2 has 2 fields.
I want to find and replace strings in file1 based on file2 values (I Want an exact match i.e. for example: when searching for DT:3, Substr of DT:34 should not be matched)
File2:
DT:3 foo_err
DT:34 bar_frr... (8 Replies)
Discussion started by: aydj
8 Replies
9. Shell Programming and Scripting
Hello ,
I have below files
a) File A
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<root xmlns="http://aaa/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema" version="2.0">
<project name="source">
<mapping name="m_Source">
<parameter... (3 Replies)
Discussion started by: Pratik4891
3 Replies
10. Shell Programming and Scripting
I am trying to read a value from a mapping file and would need to replace the value based on country parameter
source_table_@ctry_final
Expected
final_var=source_table_aus_final
If the country is in nz,usa,uk then
final_var=diff_table_nz_final
final_var=diff_table_usa_final
like that... (10 Replies)
Discussion started by: Master_Mind
10 Replies
LEARN ABOUT DEBIAN
running-bear
RUNNING-BEAR(6) Games Manual RUNNING-BEAR(6)
NAME
running-bear -- The launcher for games made with the Bear Engine.
SYNOPSIS
running-bear --data-path=path ... --item-library=path ... --start-level=path [-h] [--log-concise] [--log-file=file] [--log-
level=string] [--log-uniq] [-v] [--active-area=integer] [--fullscreen | --windowed ] [--game-name=string] [--game-var-assign-
ment=character] [--screen-height=integer] [--screen-width=integer] [--set-game-var-bool=name=value ...] [--set-game-var-int=name=value
...] [--set-game-var-real=name=value ...] [--set-game-var-string=name=value ...] [--set-game-var-uint=name=value ...] --stats-destina-
tion=url
DESCRIPTION
This program is a launcher for games made with the Bear Engine.
OPTIONS
The following options can be passed to the program:
--active-area=integer
The margin around the camera in which we check for activity.
--data-path=path
Path to the directory containing the data of the game. When a file is required during the game, the paths are explored from the
last one on the command line toward the first one.
--fullscreen
Run the game in fullscreen mode.
--game-name=string
The name of the game.
--game-var-assignment=character
Change the delimiter used in --set-game-var-"type" to separate the name and the value of the variable.
-h, --help
Show summary of options.
--item-library=path
Path to a library containing items for the game.
--log-concise
Do not display log messages that have recently been displayed.
--log-file=file
Write log output in "file".
--log-level=string
Output log messages up to a given level, among "error", "warning" and "verbose".
--log-uniq
Do not display the same log message successively.
--screen-height=integer
The height of the screen
--screen-width=integer
The width of the screen.
--set-game-var-bool=name=value
Set the value of a boolean game variable.
--set-game-var-int=name=value
Set the value of an integer game variable.
--set-game-var-real=name=value
Set the value of a real number game variable.
--set-game-var-string=name=value
Set the value of a string game variable.
--set-game-var-uint=name=value
Set the value of a non negative integer game variable.
--start-level=string
The path to the first level to run, relatively to the data paths.
--stats-destination=url
Set the value of the destination to which game statistics are sent.
-v, --version
Print the version of the engine and exit.
--windowed
Run the game in a window.
AUTHOR
This manual page was written by Julien Jorge julien.jorge@gamned.org. Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
RUNNING-BEAR(6)