How do I Ftp, and rename multiple files in one unix script. I have to send it with .tmp extension , then rename it to .txt after FTP is done . I need to do a Mass rename of more than 1 file in a shell script , Urgent help required. (1 Reply)
Hi All,
Actually when i am trying to open my shell script file 1.sh then i am getting the following error.
> vi 1.sh
"/var/tmp/ExdNaarK" No space left on device
Can anybody tell me that how to rectify it. It is very urgent. Because i am not able to do any work due to the above error.
... (1 Reply)
I have to fix files with only one huge line. Basically this line contains huge number of records may be in thousands of fix length. Suppose if we consider the length of one record as 100 bytes and if we have 50 such record. Then the file will have only one line with 100*50 bytes.
I want to... (3 Replies)
Hi All,
Can Anyone please tell me,how can I delete a line from a file.
I am reading the file line by line using whil loop and validating each line..Suppose in the middle i found a particular line is invalid,i need to delete that particular line.
Can anyone please help.
Thanks in advance,... (14 Replies)
Hi,
I am trying to open a file that I have created from withn a shell script and cannot seem to get it working. Does anyone have any ideas?
Thanks. (2 Replies)
In Unix, how do I delete lines in a file that match a particular pattern without opening it. File contents are
foo line1
misc
whatever
foo line 2
i want to delete all lines that have the pattern "foo" without opening the file. File should eventually contain
misc
whatever (1 Reply)
Hi All,
Am trying to write wrapper shell/bash script on a utility tool for which i need to pass 2 files as arugment to execute utility tool.
Wraper script am trying is to do with above metion 2 files.
utility tool accepts :
a. userinfo file : which contains username
b. item file : which... (2 Replies)
I am trying to write a shell script which takes an input file as an arguement in the terminal e.g. bash shellscriptname.sh input.txt. I would like for the file to be read line by line each time checking if the .txt file contains certain words or letters(validating the syntax). If the line being... (1 Reply)
Discussion started by: Gurdza32
1 Replies
LEARN ABOUT DEBIAN
appdataunit
AppDataUnit(3) Library Functions Manual AppDataUnit(3)NAME
AppDataUnit -
Interface (envelope) to data received over RTP packets.
SYNOPSIS
#include <queuebase.h>
Public Member Functions
AppDataUnit (const IncomingRTPPkt &packet, const SyncSource &src)
~AppDataUnit ()
AppDataUnit (const AppDataUnit &src)
AppDataUnit & operator= (const AppDataUnit &source)
Assignment operator.
PayloadType getType () const
const uint8 *const getData () const
Get data as it is received in RTP packets (i.e.
size_t getSize () const
const SyncSource & getSource () const
bool isMarked () const
Is this data unit marked?.
uint16 getSeqNum () const
Get data unit sequence number.
uint8 getContributorsCount () const
Get the number of contributing sources in the CSRC list.
const uint32 * getContributorsID () const
Get the array of 32-bit CSRC identifiers.
Detailed Description
Interface (envelope) to data received over RTP packets.
A class of objects representing data transmitted over RTP packets. Tipically, this object will apply to received data. Data blocks received
via RTP connections as well as its related objects (source, etc), are accessed through the methods of this class.
Author:
Federico Montesino Pouzols fedemp@altern.org
Examples:
audiorx.cpp, ccrtptest.cpp, rtpduphello.cpp, rtphello.cpp, and rtplisten.cpp.
Constructor & Destructor Documentation
AppDataUnit::AppDataUnit (const IncomingRTPPkt &packet, const SyncSource &src)
AppDataUnit::~AppDataUnit () [inline]
AppDataUnit::AppDataUnit (const AppDataUnit &src)
Parameters:
src the AppDataUnit object being copied
Member Function Documentation
uint8 AppDataUnit::getContributorsCount () const [inline]
Get the number of contributing sources in the CSRC list.
const uint32* AppDataUnit::getContributorsID () const [inline]
Get the array of 32-bit CSRC identifiers. Returns:
NULL if (getContributorsCount() == 0)
const uint8* const AppDataUnit::getData () const [inline]
Get data as it is received in RTP packets (i.e. for multi-octet encodings, octets are in network order.
Returns:
Raw pointer to data block.
Examples:
audiorx.cpp, ccrtptest.cpp, rtpduphello.cpp, and rtphello.cpp.
uint16 AppDataUnit::getSeqNum () const [inline]
Get data unit sequence number.
size_t AppDataUnit::getSize () const [inline]
Returns:
length of data in octets
Examples:
audiorx.cpp, and rtplisten.cpp.
const SyncSource& AppDataUnit::getSource () const [inline]
Returns:
Source that sent this data
Examples:
rtplisten.cpp.
PayloadType AppDataUnit::getType () const [inline]
Returns:
type of this data
Examples:
rtplisten.cpp.
bool AppDataUnit::isMarked () const [inline]
Is this data unit marked?. Returns:
true if marked.
AppDataUnit& AppDataUnit::operator= (const AppDataUnit &source)
Assignment operator. Parameters:
source the AppDataUnit object being assigned
Returns:
the result of the assignment
Author
Generated automatically by Doxygen for ccRTP from the source code.
ccRTP Sat Jun 23 2012 AppDataUnit(3)