Sponsored Content
Top Forums Shell Programming and Scripting Logic for processing 2 arrays Post 302714457 by giri_luck on Friday 12th of October 2012 07:42:09 AM
Old 10-12-2012
Logic for processing 2 arrays

Hi,

I need a logic for processing 2 arrays at a same time.

x=a,b,c
y=d,e

now the sequence to be followed is (a,d) , (b,e) , (c,d) , (a,e) , (b,d) , (c,e)

and again...(a,d)

The sequence should be maintained.

Thanks
 

We Also Found This Discussion For You

1. Shell Programming and Scripting

Processing with AWK and Arrays

Done, thanks for the help - worked. (1 Reply)
Discussion started by: fusionX
1 Replies
Tcl_Backslash(3)					      Tcl Library Procedures						  Tcl_Backslash(3)

__________________________________________________________________________________________________________________________________________________

NAME
Tcl_Backslash - parse a backslash sequence SYNOPSIS
#include <tcl.h> char Tcl_Backslash(src, countPtr) ARGUMENTS
char *src (in) Pointer to a string starting with a backslash. int *countPtr (out) If countPtr is not NULL, *countPtr gets filled in with number of characters in the backslash sequence, includ- ing the backslash character. _________________________________________________________________ DESCRIPTION
The use of Tcl_Backslash is deprecated in favor of Tcl_UtfBackslash. This is a utility procedure provided for backwards compatibility with non-internationalized Tcl extensions. It parses a backslash sequence and returns the low byte of the Unicode character corresponding to the sequence. Tcl_Backslash modifies *countPtr to contain the number of characters in the backslash sequence. See the Tcl manual entry for information on the valid backslash sequences. All of the sequences described in the Tcl manual entry are sup- ported by Tcl_Backslash. SEE ALSO
Tcl(n), Tcl_UtfBackslash(3) KEYWORDS
backslash, parse Tcl 8.1 Tcl_Backslash(3)
All times are GMT -4. The time now is 04:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy