Sponsored Content
Special Forums Windows & DOS: Issues & Discussions Array element & string variable Post 302425491 by shristi on Friday 28th of May 2010 07:03:56 AM
Old 05-28-2010
I am using MS DOS.
in windows XP platform.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

accessing my first element of array

Hello everyonel, I have an array set like so num=4 read name arr=name I go through while loop to assign different values to different array element from 1 to 4. when I try to access the FIRST element of the array I get the last one first. Like if I say ${arr} it will show the last element... (4 Replies)
Discussion started by: afadaghi
4 Replies

2. Shell Programming and Scripting

Remove an element from an array in PERL

Hello guys, I have the following question. Consider the following code in PERL for($xeAnumber=0; $xeAnumber<@xeAnumber; $xeAnumber++) { if(@xeAnumber==@final_file) { @final_file=@xeTimeStamp; }... (3 Replies)
Discussion started by: chriss_58
3 Replies

3. UNIX for Dummies Questions & Answers

How to check a particular element in a string variable

Hi, I have a string variable containing value say abc123 I want to check if the 3rd element of this string is "c" in a if statement.Actually i dont know the syntax of how to use substring in an if statement in shell script. Please reply soon. Regards Navjot (3 Replies)
Discussion started by: navjotsingh
3 Replies

4. Shell Programming and Scripting

Shift array element

I want to delete and 0th element of array in shell scrpit and also shift all others to one level up. (2 Replies)
Discussion started by: darshakraut
2 Replies

5. Shell Programming and Scripting

remove an element from array

I need to remove an element from the below array variable TABLENAME. #!/bin/ksh set -A TABLENAME "mirf roxar keke mirs" echo "the array is ${TABLENAME}" If i need to remove say keke and have the final TABLENAME as below, how this could be achieved. Pls throw some light. echo "Modified... (3 Replies)
Discussion started by: michaelrozar17
3 Replies

6. Shell Programming and Scripting

How to assign an array element to a variable

Hi every one.. I'm new to shell scripting... I would like to assign a single array element to a variable... Is it possible to do it.... Could any body help me.... (3 Replies)
Discussion started by: kaushik_87
3 Replies

7. Emergency UNIX and Linux Support

Assigning zero to element of ksh array.

set -A matched #find referenced files. for i in ${file_names_html} do counter_j=0 for j in ${file_names_minus_index} do match=`cat $i | grep... (1 Reply)
Discussion started by: robin_simple
1 Replies

8. Shell Programming and Scripting

Multiplying array element

I am trying to take all the elements of an array and multiply them by 2, and then copy them to a new array. Here is what I have i=0 for true in DMGLIST do let DMGSIZES2="${DMGSIZES}"*2 let i++ done unset i echo ${DMGSIZES2} It does the calculation correctly for the first element,... (7 Replies)
Discussion started by: nextyoyoma
7 Replies

9. UNIX for Advanced & Expert Users

Array Element

This question is for someone that's more familiar with Array Element. I need to know if the maximum array element that can be assigned is 1024 and if its so, Is there a workaround solution when the counter exceeded 1024? param_array="$param_nam" counter=$counter+1 #to avoid space... (3 Replies)
Discussion started by: cumeh1624
3 Replies

10. Shell Programming and Scripting

Adding an element to a bash array with a variable

Hello, I have a simple task and I am having some trouble with the syntax. I have a variable with an assigned value, CMD_STRING='-L 22 -s 0 -r -O -A i -N 100 -n' I would like to add that variable to an array. As far as I have been able to look up, the syntax should be something like, ... (4 Replies)
Discussion started by: LMHmedchem
4 Replies
X-TILE(1)						      General Commands Manual							 X-TILE(1)

NAME
x-tile - select windows and adjust their tiling SYNOPSIS
x-tile [option][rows][columns] DESCRIPTION
This manual page documents briefly the x-tile command. x-tile is a program that allows tiling selected windows as desired. In addition of the predefined tilings, it allows user to create up to two user defined tilings to be applied later. It also provides a system tray icon for faster access to tiling menu. OPTIONS
This program doesn't follow the usual GNU command line syntax, with long options starting with two dashes (`-'). Instead, it uses case sen- sitive single letter options, followed by arguments when required. A summary of options is included below. w Open the x-tile main window without using the panel. z Undo the latest tiling operation. v Tile all opened windows vertically. h Tile all opened windows horizontally. u Tile all opened windows triangularly, top up. d Tile all opened windows triangularly, top down. l Tile all opened windows triangularly, top left. r Tile all opened windows triangularly, top right. q Tile all opened windows in a four square grid. g Tile all opened windows in a grid with the given rows and columns. 1 Apply user defined tiling #1 to all opened windows. 2 Apply user defined tiling #2 to all opened windows. i Invert the order of the latest tiling operation. m Maximize all opened windows. M Unmaximize all opened windows. c Close all opened windows. Any other Show a brief summary of options. AUTHORS
x-tile was written by Giuseppe Penone <giuspen@gmail.com> and Chris Camacho <chris_camacho@yahoo.com>. This manual page was written by Ricardo Mones <mones@debian.org>, for the Debian project (and may be used by others). May 7, 2012 X-TILE(1)
All times are GMT -4. The time now is 03:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy