Sponsored Content
Full Discussion: Array indexing in shell
Top Forums Shell Programming and Scripting Array indexing in shell Post 302395735 by sushmab82 on Tuesday 16th of February 2010 08:18:22 PM
Old 02-16-2010
Its working. This what I exactly wanted. Thank you so much Frans Smilie
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

[ask]filtering file to indexing...

dear all, i have file with format like this file_master.txt 20110212|231213|rio|apri|23112|222222 20110212|312311|jaka|dino|31223|543234 20110301|343322|alfan|budi|32131|333311 ... i want filter with output like this index_nm.txt rio|apri jaka|dino ... index_years.txt 20110212... (7 Replies)
Discussion started by: zvtral
7 Replies

2. Shell Programming and Scripting

indexing list of words in a file

Hey all, I'm doing a project currently and want to index words in a webpage. So there would be a file with webpage content and a file with list of words, I want an output file with true and false that would show which word exists in the webpage. example: Webpage content data.html ... (2 Replies)
Discussion started by: Johanni
2 Replies

3. Shell Programming and Scripting

indexing a file

hello guys, I have a file like this: input.dat Push-to-talk No Coonection IP support Support for IP telephony Yes Built-in SIP stack Yes Support via software Yes Microsoft Support for Microsoft Exchange Yes UMA (5 Replies)
Discussion started by: Johanni
5 Replies

4. UNIX for Dummies Questions & Answers

awk, array indexing

cat filename|nawk ' { FS="="; if (!a++ == 0) print $0 } ' can anyone plz explain how does array inexing works,how it is evaluating if (!a++ == 0)?? (2 Replies)
Discussion started by: dreamzalive
2 Replies

5. Shell Programming and Scripting

Split a file using 2-D indexing system

I have a file and want to split it using a 2-D index system for example if the file is p.dat with 6 data sets separated by ">". I want to set nx=3, ny=2. I need to create files p.dat.1.1 p.dat.1.2 p.dat.1.3 p.dat.2.1 p.dat.2.2 p.dat.2.3 I have tried using a single index and want... (3 Replies)
Discussion started by: kristinu
3 Replies

6. Shell Programming and Scripting

How to Assign an shell array to awk array?

Hello All, Can you please help me with the below. #!/bin/bash ARR="No Differences In Stage Between HASH_TOTALS & HASH_TOTALS_COMP For UNINUM:0722075 PROVIDER:5 EXTRACT_DT:30-SEP-12 VER_NUM:1" ARR="No Differences In Stage Between HASH_TOTALS & HASH_TOTALS_COMP For UNINUM:0722075 PROVIDER:5... (14 Replies)
Discussion started by: Ariean
14 Replies

7. Shell Programming and Scripting

Indexing Variable Names

Hi All I think I might have bitten off more than I can chew here and I'm hoping some of you guys with advanced pattern matching skills can help me. What I want to do is index the occurrence of variable names within a library of scripts that I have. Don't ask why, I'm just sad like that... ... (3 Replies)
Discussion started by: bbq
3 Replies

8. UNIX for Dummies Questions & Answers

Single Liner for indexing

Hello, This is pretty simple, I`m looking for a faster and better method than brute force that I`m doing. I have a 20GB file looks like Name1,Var1,Val1 Name1,Var2,Val2 Name2,Var1,Val3 Name2,Var2,Val4 I want 3 files. Nameindex 1 Name1 2 Name2 ... (2 Replies)
Discussion started by: senhia83
2 Replies

9. Shell Programming and Scripting

Pass C shell array to another C shell script(csh) and shell(sh)

Dear Friends, Please help me on this my script name is send.csh In this i have written the statement like this set args = ( city state country price ) I want to pass this array to another c shell called receiver.csh. and i want to use it in this c shell or how to pass to... (2 Replies)
Discussion started by: SA_Palani
2 Replies
RSUPLNK(8)						     Linux Programmer's Manual							RSUPLNK(8)

NAME
rsuplnk - User entry into the ROSE network. SYNOPSIS
rsuplnk [-q] <port> DESCRIPTION
The rsuplnk program allows a user to gain entry into the ROSE network using the standard pseudo-digipeating method. Recent Linux kernels are aware of this form of operation and the ax25d program can listen for such connections. The normal mode of operation of a ROSE switch is to have one ROSE address (ie port) per physical AX.25 port. Therefore ROSE users coming in on a given AX.25 port will appear as if they come from the associated ROSE port. This is the reason for the need for a ROSE port as an argument. To use rsuplnk you need an entry in ax25d.conf to listen for incoming connections. In the example below, I will be listening for ROSE con- nections on my AX.25 port 144 using the callsign KE4GAJ-10 and the ROSE port associated with the AX.25 port is rs144. # [KE4GAJ-10* VIA 144] NOCALL * * * * * * L default * * * * * * - root /usr/sbin/rsuplnk rsuplnk rs144 # There would typically be one rsuplnk per user access AX.25 port. The associated program for exiting a ROSE network is rsdwnlnk. All errors generated by rsuplnk are written to the system debug log file. OPTIONS
-q Supresses the messages generated by rsuplnk when making the connection. FILES
/etc/ax25/rsports SEE ALSO
rose(4), ax25d.conf(5), ax25d(8), rsdwnlnk(8), rose_call(8). AUTHOR
Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk> Linux 29 April 1997 RSUPLNK(8)
All times are GMT -4. The time now is 04:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy