01-30-2013
I think you would have to show us some sample of what you want, it is still confused in my mind...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How do i write a code to convert watt to dBm and vice versa?
1o log(w) + 30 = dBm
Thanks! (17 Replies)
Discussion started by: Ernst
17 Replies
2. Programming
Hi I looked up the reference but couldn't figure out whats wrong with my log funtions in ANSI C, need this log functions for a memory compiler, please help!!
#include <stdio.h>
#include <math.h>
int main(void)
{
double d ;
double logB(double x, double base);
printf(" ... (2 Replies)
Discussion started by: return_user
2 Replies
3. Shell Programming and Scripting
Hi ,
I have three funcions f1, f2 and f3 .
f1 calls f2 and f2 calls f3 .
I have a global variable "period" which i want to pass to f3 .
Can i pass the variable directly in the definition of f3 ?
Pls help .
sars (4 Replies)
Discussion started by: sars
4 Replies
4. Shell Programming and Scripting
This is my function which is creating three variables based on counter & writing these variable to database by calling another function writeRecord
but only one record is getting wrote in DB.... Please advise ASAP...:confused:
function InsertFtg
{
FTGSTR=""
echo "Saurabh is GREAT $#"
let... (2 Replies)
Discussion started by: omkar.sonawane
2 Replies
5. Shell Programming and Scripting
I have a function like this
validate()
{
/* Inside this I will do some activites
}
How I can redirect this function to a log file , so that If I look into that log file I can understand ,is there any error happened inside the function or not (3 Replies)
Discussion started by: saj
3 Replies
6. Shell Programming and Scripting
Hi
I have a shell script that does a whole bunch of things. For the sake of simplicity, assume it runs commands one two and three. What i ultimately need is the ability to display the output of the entire script on the screen as well as capture the output in a file. When I try to do it in the... (3 Replies)
Discussion started by: rch
3 Replies
7. Shell Programming and Scripting
I have a script which does gunzip, zip and untar.
Input to the script is file name and file directory (where file is located)
I am reading the input parameters as follows:
FILENAME=$1
FILEDIR=$2
I have created 3 functions that are as follows:
1) gunzip file
2) unzip file... (2 Replies)
Discussion started by: pinnacle
2 Replies
8. Shell Programming and Scripting
c()
{
if something failed;then
echo "failed"
exit 1
fi
}
f()
{
functinona #if something failed call "c"
functionb #if something failed call "c"
}
f > log 2>&1 #put the log to file not print on the screen
I want all the stdout/stdrr to the log file... (3 Replies)
Discussion started by: yanglei_fage
3 Replies
9. Shell Programming and Scripting
Dear All.
I have a script, which process files one by one. In the script I have two functions.
one sftp files to different server
the other from existing file create file with different name.
My question is:
Will sftp function recognize files names , which are created in another... (1 Reply)
Discussion started by: digioleg54
1 Replies
10. Shell Programming and Scripting
Hi All,
Good Day, seeking for your assistance on how to not perform my 2nd, 3rd,4th etc.. function if my 1st function is in else condition.
#Body
function1()
{
if
then
echo "exist"
else
echo "not exist"
}
#if not exist in function1 my all other function will not proceed.... (4 Replies)
Discussion started by: meister29
4 Replies
FBB::level(3bobcat) Log-manipulator FBB::level(3bobcat)
NAME
FBB::level - Manipulator setting the log-level of FBB::Log objects
SYNOPSIS
#include <bobcat/level>
Linking option: -lbobcat
DESCRIPTION
An FBB::level object is used to change the log-level of FBB::Log objects. It may be inserted into an empty FBB::Log object (i.e., immedi-
ately before a time stamp might be inserted by the FBB::Log object itself). This is the case after terminating a log message using a
std::endl or
character.
NAMESPACE
FBB
All constructors, members, operators and manipulators, mentioned in this man-page, are defined in the namespace FBB.
INHERITS FROM
-
CONSTRUCTORS
o level(size_t nextLevel):
The constructor is normally used in a insertion statement where it is inserted into an FBB::Log object. The copy constructor is
available, but normally not used.
OVERLOADED OPERATOR
o std::ostream &::operator<<(std::ostream &str, FBB::level const &):
The std::ostream &str object should be an empty FBB::Log object. In that case the value stored in the FBB::level object is used to
set the FBB::Log object's next message level. If the std::ostream object is not an FBB::Log object or if the object is not empty,
the function returns str without further action.
EXAMPLE
FBB::Log log;
log << FBB::level(3) << "Message at level 3
";
FILES
bobcat/level - defines the class interface.
SEE ALSO
bobcat(7), log(3bobcat)
BUGS
None Reported.
DISTRIBUTION FILES
o bobcat_3.01.00-x.dsc: detached signature;
o bobcat_3.01.00-x.tar.gz: source archive;
o bobcat_3.01.00-x_i386.changes: change log;
o libbobcat1_3.01.00-x_*.deb: debian package holding the libraries;
o libbobcat1-dev_3.01.00-x_*.deb: debian package holding the libraries, headers and manual pages;
o http://sourceforge.net/projects/bobcat: public archive location;
BOBCAT
Bobcat is an acronym of `Brokken's Own Base Classes And Templates'.
COPYRIGHT
This is free software, distributed under the terms of the GNU General Public License (GPL).
AUTHOR
Frank B. Brokken (f.b.brokken@rug.nl).
libbobcat1-dev_3.01.00-x.tar.gz 2005-2012 FBB::level(3bobcat)