8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I have a file with multiple paragraphs/sections each starting with word "Handle" and if I grep for a pattern, I should get contents of entire section/para (not just line). Please advise, thanks!
#script.sh file.txt "System Information"
Handle 0x0001
DMI type 1, 27 bytes.
... (9 Replies)
Discussion started by: reddyr
9 Replies
2. Shell Programming and Scripting
hi
I am having a file like this
##############################
mod1 ( a(ll) , b(
c), try(o) , oll(ll)
go(oo) , al(ll)
mm(al) , lpo(kka)
kka(oop) );
mod2 ( jj(ll) , c(
kk), try1q(o1) , ofll(lll)
gao(oo1) , ala(llaa)
mmf(adl) , lddpo(kkad)
kkda(oodp) );... (20 Replies)
Discussion started by: kshitij
20 Replies
3. Solaris
Hola, como se hace para instalar los parches para solaris, yo los tengo en un dvd. comandos etc.... (1 Reply)
Discussion started by: ea1fch
1 Replies
4. UNIX Desktop Questions & Answers
Hola, alguien me puede ayudar enviandome los comandos para cpnsultar las HBA que estan asignadas y que ve un servidor con SO tru Unix64
Gracias (1 Reply)
Discussion started by: darru
1 Replies
5. Programming
Hello everybody,
I have a problem with a program i'm coding, the thing is that i need the program to check quickly if it receives a response, if not, just go ahead.
My program sends the frame successfully, but it keeps waiting for the response until it receives something. That's what i need to... (2 Replies)
Discussion started by: Zykl0n-B
2 Replies
6. Shell Programming and Scripting
I used a script posted here to get my form results in a frame; which works great on first submit, BUT, creates a new set of frames in the form window on second submit. I've set the targets to the frame names. Anyone have any suggestions?
thank you! (2 Replies)
Discussion started by: walkacrossfire
2 Replies
7. UNIX for Advanced & Expert Users
Hi
I have a requirement as follows. My Input file is as follows.
COL1,COL2,COL3,COL4,COL5
987,2,3~7~5,400~468~598,0005~4687~5980
1111,2,2~7,400~468,0005~897
Expected OUTPUT
============
COL1,COL2,COL3,COL4,COL5
987,2,3,400,0005
987,2,7,468,4687
987,2,5,598,5980
1111,2,2,400,0005... (6 Replies)
Discussion started by: tkbharani
6 Replies
8. HP-UX
Hola no escribo en ingles, pero si alguno puede ayudarme..
Quisiera saber si hay algun comando en unix que me permita hacer el mecanismo de montar el cassette a la unidad de dlt, asi como se que existe para que la expulse , quisiera saber si hay comando, que por decir la introduzca... (1 Reply)
Discussion started by: Kespinoza97
1 Replies
Net::Stomp::Frame(3pm) User Contributed Perl Documentation Net::Stomp::Frame(3pm)
NAME
Net::Stomp::Frame - A STOMP Frame
SYNOPSIS
use Net::Stomp::Frame;
my $frame = Net::Stomp::Frame->new( {
command => $command,
headers => $headers,
body => $body,
} );
my $frame = Net::Stomp::Frame->parse($string);
my $string = $frame->as_string;
DESCRIPTION
This module encapulates a Stomp frame. Stomp is the Streaming Text Orientated Messaging Protocol (or the Protocol Briefly Known as TTMP and
Represented by the symbol :ttmp). It's a simple and easy to implement protocol for working with Message Orientated Middleware from any
language. Net::Stomp is useful for talking to Apache ActiveMQ, an open source (Apache 2.0 licensed) Java Message Service 1.1 (JMS) message
broker packed with many enterprise features.
A Stomp frame consists of a command, a series of headers and a body.
For details on the protocol see <http://stomp.codehaus.org/Protocol>.
METHODS
new
Create a new Net::Stomp::Frame object:
my $frame = Net::Stomp::Frame->new( {
command => $command,
headers => $headers,
body => $body,
} );
parse
Create a new Net::Somp::Frame given a string containing the serialised frame:
my $frame = Net::Stomp::Frame->parse($string);
as_string
Create a string containing the serialised frame representing the frame:
my $string = $frame->as_string;
destination
Get or set the "destination" header.
content_type
Get or set the "content-type" header.
content_length
Get or set the "content-length" header.
exchange
Get or set the "exchange" header.
message_id
Get or set the "message-id" header.
SEE ALSO
Net::Stomp.
AUTHOR
Leon Brocard <acme@astray.com>.
COPYRIGHT
Copyright (C) 2006, Leon Brocard
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
perl v5.14.2 2012-03-15 Net::Stomp::Frame(3pm)