08-26-2013
Sorry, I am not good with bash functions that do not return void. How would I re-write those so they were inline?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
brothers and sisters
iam a new member of your respectful forum
hope to accept me
i really would like to an expert in unix and linux
so please tell me how could ?
and what i should have ?
i want to make my project in these subject
but i dont know what to do
and which... (12 Replies)
Discussion started by: yemen
12 Replies
2. Shell Programming and Scripting
Hi,
I am writing a bash shell script. I would like to execute a statement only if an array contains a specific value. For example:
array=(1 3 5 7)
I would like to execute the statement only if the value 3 is present in ${array}.
Thanks for any help,
Mike (1 Reply)
Discussion started by: msb65
1 Replies
3. Shell Programming and Scripting
Hi,
I have a file that contains thousands of records. Each record starts with "New Record". I need to search this file based on a given value of "timestamp" and write all the records that match this timestamp into a new file.
I was able to locate the existence of a given value of timestamp using... (10 Replies)
Discussion started by: shoponek
10 Replies
4. Shell Programming and Scripting
Hi,
Here is a tough requirement , to be served by bash script.
I want to perform 3,00,000 * 10,000 searches.
i.e. I have 10,000 doc files and 3,00,000 html files in the file-system. I want to check, which of the doc files are referred in any html files. (ex- <a href="abc.doc">abc</a>)... (3 Replies)
Discussion started by: jitendriya.dash
3 Replies
5. UNIX for Dummies Questions & Answers
HI Bruce from Central PA
I have never used Unix but am sick of Microsoft so want to learn it.
I use to own a computer store front and training center and stated our with Atari, Commodore and the 1st PC and MS/DOS then Windows
BUT sick of Microsoft controlling the computer industry.
... (2 Replies)
Discussion started by: Brucec
2 Replies
6. Shell Programming and Scripting
Hi ,I have seen this comverters before ,but I was searching today and I can not find them .Is anybody used them before .Any recomendations
Thanks (5 Replies)
Discussion started by: lio123
5 Replies
7. Shell Programming and Scripting
without using conventional file searching commands like find etc, is it possible to locate a file if i just know that the file that i'm searching for contains a particular text like "Hello world" or something? (5 Replies)
Discussion started by: arindamlive
5 Replies
8. Shell Programming and Scripting
Hello,
I'm trying to write a script in Bash to assist in pentesting. Essentially I'm looking to use a script to search for some terms in a log file and then send that key information into another file.
The log files consist of HTTP and SSL information that someone creates while browsing and... (2 Replies)
Discussion started by: Sagesparten007
2 Replies
9. Shell Programming and Scripting
Trying to do some control flow parsing based on the index postion of an array member. Here is the pseudo code I am trying to write in (preferably in pure bash) where possible. I am thinking regex with do the trick, but need a little help.
pesudo code
if == ENDSINFIVEINTS ]]; then
do... (4 Replies)
Discussion started by: briandanielz
4 Replies
10. What is on Your Mind?
Hi guys! My name is Leonida and I am new here to this forum. Nice meeting you all. (1 Reply)
Discussion started by: leeoona
1 Replies
LEARN ABOUT DEBIAN
qwtpoint3d
QwtPoint3D(3) Qwt User's Guide QwtPoint3D(3)
NAME
QwtPoint3D -
QwtPoint3D class defines a 3D point in double coordinates.
SYNOPSIS
#include <qwt_point_3d.h>
Public Member Functions
QwtPoint3D ()
QwtPoint3D (double x, double y, double z)
QwtPoint3D (const QwtPoint3D &)
QwtPoint3D (const QPointF &)
bool isNull () const
double x () const
double y () const
double z () const
double & rx ()
double & ry ()
double & rz ()
void setX (double x)
void setY (double y)
void setZ (double y)
QPointF toPoint () const
bool operator== (const QwtPoint3D &) const
bool operator!= (const QwtPoint3D &) const
Detailed Description
QwtPoint3D class defines a 3D point in double coordinates.
Constructor & Destructor Documentation
QwtPoint3D::QwtPoint3D () [inline] Constructs a null point.
See also:
isNull()
QwtPoint3D::QwtPoint3D (doublex, doubley, doublez = 0.0) [inline]
Constructs a point with coordinates specified by x, y and z.
QwtPoint3D::QwtPoint3D (const QwtPoint3D &other) [inline] Copy constructor. Constructs a point using the values of the point specified.
QwtPoint3D::QwtPoint3D (const QPointF &other) [inline] Constructs a point with x and y coordinates from a 2D point, and a z coordinate of 0.
Member Function Documentation
bool QwtPoint3D::isNull () const [inline] Returns true if the point is null; otherwise returns false.
A point is considered to be null if x, y and z-coordinates are equal to zero.
bool QwtPoint3D::operator!= (const QwtPoint3D &other) const [inline]
Returns true if this rect and other are different; otherwise returns false.
bool QwtPoint3D::operator== (const QwtPoint3D &other) const [inline]
Returns true if this point and other are equal; otherwise returns false.
double & QwtPoint3D::rx () [inline]
Returns a reference to the x-coordinate of the point.
double & QwtPoint3D::ry () [inline]
Returns a reference to the y-coordinate of the point.
double & QwtPoint3D::rz () [inline]
Returns a reference to the z-coordinate of the point.
void QwtPoint3D::setX (doublex) [inline]
Sets the x-coordinate of the point to the value specified by x.
void QwtPoint3D::setY (doubley) [inline]
Sets the y-coordinate of the point to the value specified by y.
void QwtPoint3D::setZ (doubley) [inline]
Sets the z-coordinate of the point to the value specified by z.
QPointF QwtPoint3D::toPoint () const [inline] Rounds 2D point, where the z coordinate is dropped.
double QwtPoint3D::x () const [inline]
Returns the x-coordinate of the point.
double QwtPoint3D::y () const [inline]
Returns the y-coordinate of the point.
double QwtPoint3D::z () const [inline]
Returns the z-coordinate of the point.
Author
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Version 6.0.0 Fri Apr 15 2011 QwtPoint3D(3)