Hi ghostdog74,
The output printed is only machine3 not machine1.
Let me put my question again ..
I have a file with many stanzas...as below..
Monday:
designs
velocity
Tuesdaey:
Projetn
Manage
wednesday:
work
velocity
********
(all the non-stanza lines have a space eg ..design,veloocity,manage..etc all have a space at the beginning)
I need to get the stanza names that have the pattern "velocity"
The o/p should be as below...
Monday
Wednesday
Hi All,
My file :
$ cat my.txt
AA:22:note:AA
BB:AA:help:XX
CC:14:AA:CC
ZZ:AA:hello:AA
A) <searching "AA" as 2nd field in all lines of my.txt >
$ awk -F ":" '{ if ($2 ~ /AA/) print "found in line - " NR; else print "Not found"}' my.txt
Not found
found in line - 2
Not found
found... (7 Replies)
Hi,
I have two files viz,
rak1:
$ cat rak1
rak2:
$ cat rak2
sdiff rak1 rak2 returns:
I want the lines that got modified, changed, or deleted preceding with the section they are in.
I have done this so far: (1 Reply)
Hi,
I have to copy a set of files abc* in /path/ to /path1/ as abc*_bkp.
The list of files appear as follows in /path/:
abc1
xyszd
abc2
re2345
abcx
..
.
abcxyz
I have to copy them (abc* files only) into /path1/ as:
abc1_bkp
abc2_bkp
abcx_bkp
..
. (6 Replies)
I am trying to do some thing like this ..
In a file , if pattern found insert new pattern at the begining of the line containing the pattern.
example:
in a file I have this.
gtrow0unit1/gctunit_crrownorth_stage5_outnet_feedthru_pin
if i find feedthru_pin want to insert !! at the... (7 Replies)
I want a shell script that will traverse a file system starting at specific path.
And look at all file names for repeating sequences of and remove them from the file name.
The portion of the name that gets removed has to be a repeating sequence of the same characters.
So the script would... (3 Replies)
I have some files, those are abbreviated (ed,ea, and bi)
company_ed_20100719.txt
company_ea_20100719.txt
company_bi_20100719.txt
I would like to rename these files by replacing
ed with EmployeeDetails
ea with EmployeeAddress
bi with BankInfomration
as
company_... (3 Replies)
I had a spot of trouble coming up with a title, hopefully you'll understand once you read my problem... :)
I have the output of an ldapsearch that looks like this:
dn: cn=sam,ou=company,o=com
uidNumber: 7174
gidNumber: 49563
homeDirectory: /home/sam
loginshell: /bin/bash
uid: sam... (2 Replies)
The default: stanza in /etc/security/limits is still set to 2097151 on fsize (max file size). I know tar had issues with large files but is there any other reasons for it? I'm thinking yes since it's still set to that by IBM.
Cheers,
DH (4 Replies)
Hi,
I have got a requirement for which i need your help. The following problem is required to get solved in PERL SCRIPT. Here is the requirement.
There are 4 folders say SRC_DIR1, SRC_DIR2 and TGT_DIR_1,TGT_DIR_2
(Note: both path of SRC_DIR1 & SRC_DIR2 are different but both path of... (4 Replies)
Discussion started by: shadow_fawkes
4 Replies
LEARN ABOUT DEBIAN
solistenerdopplerelement
SoListenerDopplerElement(3) Coin SoListenerDopplerElement(3)NAME
SoListenerDopplerElement -
The SoListenerDopplerElement holds the doppler velocity and factor of the current listener.
The dopplerVelocity and dopplerFactor is set by SoListener nodes during audio rendering. The SoListenerDopplerElement is used when the
SoVRMLSound nodes render themselves.
SYNOPSIS
#include <Inventor/elements/SoListenerDopplerElement.h>
Inherits SoReplacedElement.
Public Member Functions
virtual void init (SoState *state)
virtual void print (FILE *file) const
Prints the contents of the element (unimplemented)
Static Public Member Functions
static SoType getClassTypeId (void)
static int getClassStackIndex (void)
static void * createInstance (void)
static void initClass (void)
static void setDopplerVelocity (SoState *const state, SoNode *const node, const SbVec3f &velocity)
static void setDopplerFactor (SoState *const state, SoNode *const node, float factor)
static const SbVec3f & getDopplerVelocity (SoState *const state)
Returns the current listener's doppler velocity.
static float getDopplerFactor (SoState *const state)
Returns the current listener's doppler factor.
Protected Member Functions
virtual ~SoListenerDopplerElement ()
Protected Attributes
SbVec3f dopplerVelocity
float dopplerFactor
Additional Inherited Members
Detailed Description
The SoListenerDopplerElement holds the doppler velocity and factor of the current listener.
The dopplerVelocity and dopplerFactor is set by SoListener nodes during audio rendering. The SoListenerDopplerElement is used when the
SoVRMLSound nodes render themselves.
Be aware that this class is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
Since:
Coin 2.0
Constructor & Destructor Documentation
SoListenerDopplerElement::~SoListenerDopplerElement (void) [protected], [virtual]
The destructor.
Member Function Documentation
SoType SoListenerDopplerElement::getClassTypeId (void) [static]
This static method returns the class type.
Reimplemented from SoReplacedElement.
int SoListenerDopplerElement::getClassStackIndex (void) [static]
This static method returns the state stack index for the class.
Reimplemented from SoReplacedElement.
void * SoListenerDopplerElement::createInstance (void) [static]
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
void SoListenerDopplerElement::initClass (void) [static]
This static method initializes static data for the SoListenerDopplerElement class.
Reimplemented from SoReplacedElement.
void SoListenerDopplerElement::init (SoState *state) [virtual]
Initializes the element to it's default value. The default value for the velocity is (0.0f, 0.0f, 0.0f), in other words, the listener is
not moving. The default value for the dopplerFactor is 0.0f, in other words, doppler effect is disabled.
Reimplemented from SoReplacedElement.
void SoListenerDopplerElement::setDopplerVelocity (SoState *conststate, SoNode *constnode, const SbVec3f &velocity) [static]
Sets the current listener's doppler velocity.
void SoListenerDopplerElement::setDopplerFactor (SoState *conststate, SoNode *constnode, floatfactor) [static]
Sets the current listener's doppler factor.
Member Data Documentation
SoListenerDopplerElement::dopplerVelocity [protected]
The doppler velocity of the listener. It is the application programmer's responsibility to set this value. Coin does not update this value
automatically based on changes in a listener's position.
SoListenerDopplerElement::dopplerFactor [protected]
The amount of doppler effect applied to the listener. The normal range would be [0.0f to 1.0f], where 0.0f is default and disable all
doppler effects.
Author
Generated automatically by Doxygen for Coin from the source code.
Version 3.1.3 Wed May 23 2012 SoListenerDopplerElement(3)