Sponsored Content
Top Forums Shell Programming and Scripting array access in END block failure Post 302205861 by Franklin52 on Monday 16th of June 2008 12:37:53 PM
Old 06-16-2008
Remove the $ sign before the variable flag.

Regards
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Access value outside awk or split value of array

Hello I am new to Unix. Please help me out. My Scenario: I am first collecting all the file names present in the directory with structure myinfo/yourinfo/supplierinfo I have four files with the names myCollector.java, yourCollector.java, someCollector.java, everyCollector.java. in the directory.... (1 Reply)
Discussion started by: jason.bean
1 Replies

2. Linux

attempt to access beyond end of device

Hi, we have running 8 box sles 9 cluster and on an nfs filesystem we have the problem which is grepped from /var/log/messages. Jun 8 13:40:46 qnclpx02 kernel: attempt to access beyond end of device Jun 8 13:40:46 qnclpx02 kernel: sdat: rw=0, want=8894615912, limit=314572800 Is there... (1 Reply)
Discussion started by: ortsvorsteher
1 Replies

3. Shell Programming and Scripting

Accessing single elements of a awk array in END

How do I access one of the indices in array tst with the code below? tst=sprintf("%5.2f",Car / 12) When I scan thru the array with for ( i in tst ) { print i,tst } I get the output of: vec-7 144 But when I try this in the END print tst It looks like it's not set. What am... (6 Replies)
Discussion started by: timj123
6 Replies

4. Solaris

Unable to access 3500 FC array. Where is the problem?..

Hi, I have two Sun Fire V490 with Solaris 10 5/08, FC switch and two Sun StorageTek 3500 FC arrays. Each array is connected to switch and to one server at a time. In the last week I installed Solaris 10 5/08 on both servers and set up Sun Cluster, version 3.2. At wednesday all was fine - all... (7 Replies)
Discussion started by: Sapfeer
7 Replies

5. Shell Programming and Scripting

problem in access in array variables

hi all, its me again!!! i've requirement like this: i want to create a file & an array with its name having the filename as its substring. here is the test script!! #!/bin/bash touch $1 declare -a $1_rec; echo -n "$1_rec: " read $1_rec; echo $]; now see output: this is when i enter... (7 Replies)
Discussion started by: tprayush
7 Replies

6. Programming

Access a value in 2D array in C program

Hi All, I am new to c programming. I am getting compilation error in the below program. Can somebody help me? #include<stdio.h> #include<string.h> void main() { int i=j=0; char a={'f1',4,'f2','4'}; char count; for(i=0;i<2;i++) { for(j=1;j<=2;j++) { ... (2 Replies)
Discussion started by: sam_14189
2 Replies

7. Shell Programming and Scripting

Add value to end of array

I'm trying to expand my array by adding another value onto the end of it, thus adding a new index and upping the length of the array by one. I am iterating through two arrays, and trying to get one array into the index of the other. I'm use 4.1.5 release of bash and most of the methods I have tried... (4 Replies)
Discussion started by: jrymer
4 Replies

8. Shell Programming and Scripting

Unable To access array in awk

Hi, i have the following code in which i am passing array tldn in awk using -v option & despite of that condition is not getting matched,can somebody suggest how to handle shell arrays in awk tcount=(9875 9667) awk -F"\t" -v ltldn="${tldn}" 'NR==FNR {POSTPAIDMDNS=$2"|"$3;next} ... (6 Replies)
Discussion started by: siramitsharma
6 Replies

9. UNIX for Dummies Questions & Answers

Add a block of code at the end of a specific block

I need to search for a block with the starting pattern say "tabId": "table_1", and ending pattern say "]" and then add a few lines before "]" "block1":"block_111" "tabId": "table_1", "title":"My title" ..... .... }] how do I achieve it using awk and sed. Thanks, Lakshmi (3 Replies)
Discussion started by: Lakshmikumari
3 Replies
Net::XMPP::Stanza(3)					User Contributed Perl Documentation				      Net::XMPP::Stanza(3)

NAME
Net::XMPP::Stanza - XMPP Stanza Module SYNOPSIS
Net::XMPP::Stanza is a private package that serves as a basis for all XMPP stanzas generated by Net::XMPP. DESCRIPTION
This module is not meant to be used directly. You should be using either Net::XMPP::IQ, Net::XMPP::Message, Net::XMPP::Presence, or another package that inherits from Net::XMPP::Stanza. That said, this is where all of the namespaced methods are documented. The current supported namespaces are: jabber:iq:auth jabber:iq:privacy jabber:iq:register jabber:iq:roster urn:ietf:params:xml:ns:xmpp-bind urn:ietf:params:xml:ns:xmpp-session For more information on what these namespaces are for, visit http://www.jabber.org and browse the Jabber Programmers Guide. The following tables can be read as follows: ny:private:ns Name Type Get Set Remove Defined Add ========================== ======= === === ====== ======= === Foo scalar X X X X Bar child X Bars child X Test master X X Withing the my:private:ns namespace, there exists the functions: GetFoo(), SetFoo(), RemoveFoo(), DefinedFoo() AddBar() GetBars(), DefinedBars() GetTest(), SetMaster() Hopefully it should be obvious how this all works. If not feel free to contact me and I'll work on adding more documentation. jabber:iq:auth Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Digest scalar X X X X Hash scalar X X X X Password scalar X X X X Resource scalar X X X X Sequence scalar X X X X Token scalar X X X X Username scalar X X X X Auth master X X jabber:iq:privacy Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Active scalar X X X X Default scalar X X X X List child X Lists child X X X Privacy master X X jabber:iq:privacy - item objects Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Action scalar X X X X IQ flag X X X X Message flag X X X X Order scalar X X X X PresenceIn flag X X X X PresenceOut flag X X X X Type scalar X X X X Value scalar X X X X Item master X X jabber:iq:privacy - list objects Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Name scalar X X X X Item child X Items child X X X List master X X jabber:iq:register Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Address scalar X X X X City scalar X X X X Date scalar X X X X Email scalar X X X X First scalar X X X X Instructions scalar X X X X Key scalar X X X X Last scalar X X X X Misc scalar X X X X Name scalar X X X X Nick scalar X X X X Password scalar X X X X Phone scalar X X X X Registered flag X X X X Remove flag X X X X State scalar X X X X Text scalar X X X X URL scalar X X X X Username scalar X X X X Zip scalar X X X X Register master X X jabber:iq:roster Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Item child X Items child X Roster master X X jabber:iq:roster - item objects Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Ask scalar X X X X Group array X X X X JID jid X X X X Name scalar X X X X Subscription scalar X X X X Item master X X urn:ietf:params:xml:ns:xmpp-bind Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === JID jid X X X X Resource scalar X X X X Bind master X X urn:ietf:params:xml:ns:xmpp-session Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Session master X X AUTHOR
Ryan Eatmon COPYRIGHT
This module is free software, you can redistribute it and/or modify it under the LGPL. perl v5.12.1 2010-07-05 Net::XMPP::Stanza(3)
All times are GMT -4. The time now is 04:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy