Thanks for the idea. it works for me as a standard input is concerned...
the problem is that I'm combining the result into this format in AWK's action panel( or action part) and then doing the many to many mapping ( requirement of this thread ) in the END part.
so my code goes like below:
the trick here is that the part before the END section is producing output like
x is the array containing 13333, 12222, 144444, 155555 -- just for refernce
in the array of
with
as index starting with 0. now when I try to scan the
what would be the best way to scan the values of
in
from above given values format and then do a many to many mapping as you have done previously.
------ Post updated at 02:41 PM ------
below is how your code is working for me -- giving required ouput
but I need something in a single awk execution..
------ Post updated at 06:19 PM ------
i eventuall ended up in managing the requirement-- instead of going into the END part, I simply co-joined the parts in action part.
Hi,
We recently purchased a 3 tb RAID. In the setup, it created 2 slices, one 2 tb and one 1 tb slice. Right now only the 2 tb slice is visible when booting up. I was told that the second slice needs to be mapped to a lun and a port like the first slice is.
Does anyone know how I would go... (1 Reply)
> how the sendmsg and recvmsg calls will know which kernel module to use (SCTP, RTP etc.) internally(kernel mapping: how kernel handle socket call) (1 Reply)
This is truly embarrassing but I have to know the answer anyway :p
Can anyone share, how to assign keyboard mapping in hp-ux system? Every time I issue command which contain character "@", it'll go the next line. What I need is how to assign the character "@" to @ as it is supposed to be.
... (2 Replies)
Hi,
I just started looking into various aspect of unix shell scripting. I am completely new to the world of UNIX. Could any one help me in solving the following requirement.
I have a parameter file with some data e.g.
sample.param
-------------
Andrew=201
Bob=219
Shelly=239... (4 Replies)
Hi All,
I am working on the Scenario where i need compare the integer value with other using bit mapping.
input file,
1,4,5,4
1,2,4,6
2,3,4,4 like i have many fields.
Script :
i need to filter hte field one value "1" and field 3 value "4" and Filed 4 i need to do the Bitwise... (5 Replies)
Hi All
i am a tad stuck i am trying to map alt gr key so that it acts as a Alt key
i tried xmodmap but it went very wrong and it disabled both alt gr and alt key
thanks
Adam (0 Replies)
Hi we have a situation where some printers are on a server that sometimes has to be rebooted. If this happens the Unix boxes we have that are referencing the printers in the vfstab file fail to work even when the print server is brought back up. Does anyone know if it would be possible to put... (0 Replies)
I have the following arrays with different lengths that I want to map them with the same key.
# Week numbers, 8 columns
@headers = ("2011-34", "2011-35", "2011-36", "2011-37", "2011-38", "2011-39", "2011-40", "2011-41");
%data = ("2011-34", BCE,
"2011-35", YZA,
"2011-36",... (5 Replies)
Hello,
I do not know if this is the right title to use. I have a large dictionary database which has the following structure:
where a b c d e are in English and p q r s t are in a target language., the two separated by the delimiter =.
What I am looking for is a perl script which will take... (5 Replies)