07-30-2014
Have you tried replacing '\x0D' with '\r'?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all..
I got a problem..
Its easy to redirect o/p to a file.. But Is it possible to redirect the O/P to a variable?
For example:
I've a command in my script:
string1=cut -d ':' -f2 file.txt
When I do:
echo $string1
The value is empty... Pls suggest me how to store the value... (7 Replies)
Discussion started by: smartbuddy
7 Replies
2. 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
3. Shell Programming and Scripting
Hi all,
I have a script in which i need to run a command like "/opt/dell/srvadmin/sbin/omreport about" and output will be something like
Version : 6.3.0
Copyright : Copyright (C) xxx Inc. 1995-2010 All rights reserved.
Company : xxx Inc.
In this i need to save the version... (13 Replies)
Discussion started by: Renjesh
13 Replies
4. Shell Programming and Scripting
Hi,
I am trying to do the following thing
var='date'
$var
Above command substitutes date for and in turn runs the date command and i am getting the todays date value.
I am trying to do the same thing as following, but facing some problems,
unique_host_pro="sed -e ' /#/d'... (3 Replies)
Discussion started by: gvinayagam
3 Replies
5. Shell Programming and Scripting
Hi All, I am a newbie to unix.starting my career in unix.need 1 help from you all..pls help..
i am passing a file name "abc_delta" as argument to my script1.sh.
if file name contains "_delta" at last then echo pass else fail.how to fix it.
Note:file name will always contain "_delta" at... (10 Replies)
Discussion started by: pradeepcarya
10 Replies
6. Programming
sorry i'm newbies c programer
how to store string to variable with value flexible.
example
int hh=1; ---> value flexible 1,2,3,4,5;
int xx=1; ---> value flexible 1,2,3,4,5;
char test="value=%d and value=%d",hh,xx; --> not working
char test2="value2=%d and value2=%d",hh,xx; --> not... (1 Reply)
Discussion started by: slackman
1 Replies
7. UNIX Desktop Questions & Answers
Hi ,
I was trying to store the value of a grep command to store in a variable so i can use it somewhere else in my script but i am getting error, i am using bash shell in linux:
var= `grep -n "$DATE" testfile.log | head -n 1 | sed -n 's/^\(*\).*/\1/p`
echo "$var"I get the error: unexpected... (5 Replies)
Discussion started by: learninguser235
5 Replies
8. Shell Programming and Scripting
These seems ridiculously simple but I can't get it to work. Using korn shell and I want to pass in a flag to tell my echo statements to either write to the screen for debugging or a file if not. So I have something like:
if ; then
logout=&1
else
logout='logfile.out'
fi
Then... (2 Replies)
Discussion started by: DJR
2 Replies
9. Shell Programming and Scripting
!#bin/bash
clear
var= grep @gmail.com email.txt | wc -l
echo $var
echo $var
exit 0
OUTPUT:
1000
_
_
Where _ represent space (no value or nothing) (4 Replies)
Discussion started by: Muhammad Rehan
4 Replies
10. Shell Programming and Scripting
How to store escape character in the variable.
Var=abc,def,ghi,jkl
echo ${Var} | sed -e "s/,/|\\\\./g;s/^/\\\\./g"
\.abc|\.def|\.ghi|\.hjk
Var1=`echo ${Var} | sed -e "s/,/|\\\./g;s/^/\\\./g"`
Actual:
-------
echo $Var1
.abc|.def|.ghi|.jkl
Expected:
---------
echo $Var1... (4 Replies)
Discussion started by: deepakwins
4 Replies
LEARN ABOUT MOJAVE
manips
Manipulator Classes(3) Coin Manipulator Classes(3)
NAME
Manipulator Classes -
Classes
class SoCenterballManip
The SoCenterballManip wraps an SoCenterballDragger for convenience.
"
class SoClipPlaneManip
The SoClipPlaneManip class is used to manipulate clip planes.
"
class SoDirectionalLightManip
The SoDirectionalLightManip class is used to manipulate SoDirectionalLight nodes.
"
class SoHandleBoxManip
The SoHandleBoxManip class wraps an SoHandleBoxDragger for manipulating a transformation.
"
class SoJackManip
The SoJackManip wraps an SoJackDragger for convenience.
"
class SoPointLightManip
The SoPointLightManip class is used to manipulate point light nodes.
"
class SoSpotLightManip
The SoSpotLightManip class is used to manipulate spot light nodes.
"
class SoTabBoxManip
The SoTabBoxManip class wraps an SoTabBoxDragger.
"
class SoTrackballManip
The SoTrackballManip wraps an SoTrackballDragger for convenience.
"
class SoTransformBoxManip
The SoTransformBoxManip wraps an SoTransformBoxDragger for convenience.
"
class SoTransformManip
The SoTransformManip class is used to manipulate transformations.
A manipulator is used by replacing the node you want to edit in the graph with the manipulator. Draggers are used to to manipulate the
node. When manipulation is finished, the node is put back into the graph, replacing the manipulator. "
class SoTransformerManip
The SoTransformerManip wraps an SoTransformerDragger for convenience.
"
Detailed Description
Manipulators are objects you can swap back and forth into a scene graph at locations where you have an SoTransform node. They take the
place of the SoTransform, continue to act like the SoTransform, but in addition give the user a 3D user interface, using draggers, for
controlling the transform. When the user is done manipulating, the manipulator can swap itself back out, replacing itself with an
SoTransform that represent the new transform value.
Manipulators is one of the concepts that really made Open Inventor stand out against the alternatives when it came out.
See also:
Dragger Classes
Author
Generated automatically by Doxygen for Coin from the source code.
Version 3.1.3 Wed May 23 2012 Manipulator Classes(3)