03-17-2005
pulled out incorrect information
Last edited by dangral; 03-21-2005 at 05:53 PM..
Reason: pulled out incorrect information
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello: Can anyone please decode this script in English. I have also made some comments which I know.. The actual script does not have one comment also..
#! /bin/ksh
. odbmsprd_env.ksh #setting the env..
echo $0 Started at : `date '+%d-%m-%Y %H:%M:%S'`
# what's echo $0
... (4 Replies)
Discussion started by: ST2000
4 Replies
2. Shell Programming and Scripting
Okay,
This is not something I've tried to do before, but what I want (need) to do is when a value is read in it gets changed to the value needed.
I've been given a list of ids that I need to check against the ids I have in my system, but as is the case we don't have the same naming convention... (2 Replies)
Discussion started by: nhatch
2 Replies
3. Programming
Hi,
I am having a file in below stucture:
header
{
subheader1
{
field1 : value
field2 : value
field3: value
} //end of subheader1
subheader2
{
subheader3
{
field4 : value
field5 : value
field6: value
}
subheader4 (6 Replies)
Discussion started by: kallol
6 Replies
4. Programming
Hi,
How to decode an image using openGL library libjpeg ..
which are the steps needed to do this using C language..
actually my work is to decode the image, store it on the buffer,
and place it on cube surface..
please guide me,,any answer will appreciated .. (8 Replies)
Discussion started by: Ravikishore
8 Replies
5. Shell Programming and Scripting
Greetings,
I am doing something that I don't know if it is possible...
I have a file with a line looks like this:
<%s \n%s / %s \n%s \n>
and I am trying to replace this line with
<%s \n%s \n%s / %s \n%s \n>
in Shell script with sed command...
StringToReplace='%s \n%s / %s \n%s \n'... (2 Replies)
Discussion started by: wasabihowdi
2 Replies
6. Linux
What will the below statement do ?:confused:
&&
{
&& {eval `/bin/setup 1`} || && { VAR="/tmp" }
export $VAR;
} (3 Replies)
Discussion started by: krishnaux
3 Replies
7. AIX
I have a file type of: executable (RISC System/6000 V3.1) or obj module not stripped
How can I decode it? I know that this may be somewhat involved, but if you could steer me in the right direction, I would appreciate it. Thanks! (2 Replies)
Discussion started by: gg48gg
2 Replies
8. Shell Programming and Scripting
HI experts....I am trying to decode some text files... I need little help from you people...file is of mixed type...from generated from windows based system
my text files looks like this...
2.AUBZ 158 1 11 116204310 6 N 7542 E 18
02846 52833 102821 152815 ... (9 Replies)
Discussion started by: Akshay Hegde
9 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I have an encoded file and I wish to see what is written inside.
The first line is given below:
eval "$(dd if=$0 bs=1 skip=69 2>/dev/null|gpg -d 2>/dev/null)"; exit
PS: When I google above code, it says that command is use for encryption...
Following lines include many strange... (2 Replies)
Discussion started by: baris35
2 Replies
10. UNIX for Beginners Questions & Answers
hi
i have this file :
<?xml version="1.0" encoding="UTF-8"?>
<OnDemand xmlns="http://xsd.telecomitalia.it/Schema/crmws.entity.OnDemand"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xsd.telecomitalia.it/Schema/crmws.entity.OnDemand... (2 Replies)
Discussion started by: Francesco_IT
2 Replies
LEARN ABOUT DEBIAN
rt::client::rest::attachment
RT::Client::REST::Attachment(3pm) User Contributed Perl Documentation RT::Client::REST::Attachment(3pm)
NAME
RT::Client::REST::Attachment -- this object represents an attachment.
SYNOPSIS
my $attachments = $ticket->attachments;
my $count = $attachments->count;
print "There are $count attachments.
";
my $iterator = $attachments->get_iterator;
while (my $att = &$iterator) {
print "Id: ", $att->id, "; Subject: ", $att->subject, "
";
}
DESCRIPTION
An attachment is a second-class citizen, as it does not exist (at least from the current REST protocol implementation) by itself. At the
moment, it is always associated with a ticket (see parent_id attribute). Thus, you will rarely retrieve an attachment by itself; instead,
you should use "attachments()" method of RT::Client::REST::Ticket object to get an iterator for all attachments for that ticket.
ATTRIBUTES
id
Numeric ID of the attachment.
creator_id
Numeric ID of the user who created the attachment.
parent_id
Numeric ID of the object the attachment is associated with. This is not a proper attribute of the attachment as specified by REST -- it
is simply to store the ID of the RT::Client::REST::Ticket object this attachment belongs to.
subject
Subject of the attachment.
content_type
Content type.
file_name
File name (if any).
transaction_id
Numeric ID of the RT::Client::REST::Transaction object this attachment is associated with.
message_id
Message ID.
created
Time when the attachment was created
content
Actual content of the attachment.
headers
Headers (not parsed), if any.
parent
Parent (not sure what this is yet).
content_encoding
Content encoding, if any.
METHODS
RT::Client::REST::Attachment is a read-only object, so you cannot "store()" it. Also, because it is a second-class citizen, you cannot
"search()" or "count()" it -- use "attachments()" method provided by RT::Client::REST::Ticket.
retrieve
To retrieve an attachment, attributes id and parent_id must be set.
INTERNAL METHODS
rt_type
Returns 'attachment'.
SEE ALSO
RT::Client::REST::Ticket, RT::Client::REST::SearchResult.
AUTHOR
Dmitri Tikhonov <dtikhonov@yahoo.com>
LICENSE
Perl license with the exception of RT::Client::REST, which is GPLed.
perl v5.14.2 2011-12-27 RT::Client::REST::Attachment(3pm)