Hi guys, i have been struggling to achieve the following and therefor looking for some help.
I am trying to write something that will summerize the following output from my switches for daily totals.
Basicly if $1 $2 $3 doesnt change, we can keep adding up $4. Probably would use a awk print end... (3 Replies)
I have inherited a C++ program which does not manage it's memory at all. It has a whole bunch of 'new' variables without many deletes. I believe it was the programmers intent to let the OS clean up.
Correct me if I am wrong, but I believe the unix/linux systems clean up after the program... (1 Reply)
Hi
i data looks like this:
student 1
Subject1 45 55
Subject2 44 55
Subject3 33 44
//
student 2
Subject1 45 55
Subject2 44 55
Subject3 33 44
i would like to sum $2, $3 (marks) and divide each entry in $2 and $3 with their respective sums and print for each student as $4 and... (2 Replies)
Hi, I have a question on comparing time using bash. Tried searching a lot up but couldn't figure it out. So I have this:
CURRENT_TIME=$(date +%H:%M)
if
then echo "Continue"
else echo "Quit"
fi
I tried a lot of different combinations of comparing, but nothing seems to work. Any help... (2 Replies)
Hello,
I have a database file, named data.txt, and a shell script (convert.sh) to convert data.txt from columns to row. Output file name will be column_to_row.txt
In this example data.txt has only four rows.
Format of data.txt is:
info name surname telefon_nr
Data.txt
info boris... (1 Reply)
Hello everyone,
I need your assistance with bash.
I want to sum up some numbers, that's not the big problem i think, but the values i want to some depending on another number.
For example, I have a file with some rows of content.
Number 1, Number 2, other content.
I want to sum up number... (4 Replies)
I ran this script yesterday (in the background)
/usr/bin/nohup myfilelocation/myscriptname.sh &
the script worked perfectly.
i ran it today (also in the background) and just sat there. So i killed it and ran it normally and it worked perfectly.
Anyone suggest why it just sat there and... (8 Replies)
Hi all,
i'm making some test on a data file. Imagine i have two columns inside it :
80377,20
80377,20
80379,19
80378,20
80380,20
80382,20
80381,21
Just to understand how can it works, imagine to subtract 100 to the number in the first column when the other one in the second... (4 Replies)
Discussion started by: Board27
4 Replies
LEARN ABOUT DEBIAN
net::sip::nathelper::local
Net::SIP::NATHelper::Local(3pm) User Contributed Perl Documentation Net::SIP::NATHelper::Local(3pm)NAME
Net::SIP::NATHelper::Local - handle NAT/RTP forwarding in local event loop.
DESCRIPTION
This module is a wrapper around Net::SIP::NATHelper::Base which will handle the RTP forwarding within the local event loop the rest of
Net::SIP uses.
CONSTRUCTOR
new ( LOOP )
Will create the object and tell it to use LOOP as the event loop. Will create a Net::SIP::NATHelper::Base object which gets used
internally.
METHODS
allocate_sockets ( ... )
Calls allocate_sockets of the local Net::SIP::NATHelper::Base object. Takes and returns the same arguments.
activate_session ( ... )
Calls activate_session of the local Net::SIP::NATHelper::Base object. Takes the same arguments and returns 1 if the session was newly
activated, -1 if it was activated before and false if activation failed. Updates callbacks into the event loop.
close_session ( ... )
Calls activate_session of the local Net::SIP::NATHelper::Base object. Takes the same arguments and returns the number of closed
sessions. Updates callbacks into the event loop.
expire ( ... )
Calls expire of the local Net::SIP::NATHelper::Base object. Takes the same arguments and returns the number of expired sessions.
Updates callbacks into the event loop if necessary.
perl v5.14.2 2009-01-23 Net::SIP::NATHelper::Local(3pm)