Sponsored Content
Top Forums Shell Programming and Scripting Error with "multiplication table" in shell script Post 302406123 by kandi.reddy on Monday 22nd of March 2010 04:54:36 AM
Old 03-22-2010
You are welcome...

No Issues
kandi.reddy
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

No utpmx entry: you must exec "login" from lowest level "shell"

Hi I have installed solaris 10 on an intel machine. Logged in as root. In CDE, i open terminal session, type login alex (normal user account) and password and i get this message No utpmx entry: you must exec "login" from lowest level "shell" :confused: What i want is: open various... (0 Replies)
Discussion started by: peterpan
0 Replies

2. Shell Programming and Scripting

"else" unmatched error in shell script.

Friends I have pasted a script below d08083: cat tests #!/bin/ksh if then rm -r Last-Previous mv Previous Last-Previous mv Current Previous mkdir Current #cd Current mv $1 Current else cd Current mv "$1\$2" Current\*\ fi (4 Replies)
Discussion started by: Renjesh
4 Replies

3. AIX

"too big" and "not enough memory" errors in shell script

Hi, This is odd, however here goes. There are several shell scripts that run in our production environment AIX 595 LPAR m/c, which has sufficient memory 14GB (physical memory) and horsepower 5CPUs. However from time to time we get the following errors in these shell scripts. The time when these... (11 Replies)
Discussion started by: jerardfjay
11 Replies

4. UNIX for Advanced & Expert Users

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies

5. Shell Programming and Scripting

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies

6. Shell Programming and Scripting

read -n1 -r -p "Press..." key / produces error in bash shell script

Hello! Sorry, for my not so perfect english! I want to stop bash shell script execution until any key is pressed. This line in a bash shell script read -n1 -r -p "Press any key to continue..." key produces this error When I run this from the command line usera@lynx:~$ read... (4 Replies)
Discussion started by: linuxinho
4 Replies

7. HP-UX

Need to identify the process/app which is triggering the error "vmunix: file: table is full"

Hi, I'm seeing the error vmunix: file: table is full in syslog.log. Although changing the value of the kernel parameter nfile would make this error go away, how would I identify which process/application in the server is triggering this error? The server is a HP-UX B.11.11. Thanks in advance! (1 Reply)
Discussion started by: enchogas
1 Replies

8. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

9. HP-UX

HP-UX: Shell Script giving " 0^J30: Syntax error"

Hi All, We are getting a very unique error while running a shell script on HP-UX box. Can somebody help in this regards? The shell script is working fine on linux/solaris box. Error: ++++++++++++++++++++++++ $/test.sh ./test.sh: 0^J30: Syntax error $ ++++++++++++++++++++++++ TIA.... (16 Replies)
Discussion started by: vai_sh
16 Replies

10. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
XtManageChildren(3Xt)						     MIT X11R4						     XtManageChildren(3Xt)

Name
       XtManageChildren, XtManageChild, XtUnmanageChildren, XtUnmanageChild - manage and unmanage children

Syntax
       typedef Widget *WidgetList;

       void XtManageChildren(children, num_children)
	  WidgetList children;
	  Cardinal num_children;

       void XtManageChild(child)
	  Widget child;

       void XtUnmanageChildren(children, num_children)
	  WidgetList children;
	  Cardinal num_children;

       void XtUnmanageChild(child)
	  Widget child;

Arguments
       child	 Specifies the child.

       children  Specifies a list of child widgets.

       num_children
		 Specifies the number of children.

Description
       The function performs the following:

       o    Issues an error if the children do not all have the same parent or if the parent is not a subclass of

       o    Returns immediately if the common parent is being destroyed; otherwise, for each unique child on the list, ignores the child if it
	    already is managed or is being destroyed and marks it if not.

       o    If the parent is realized and after all children have been marked, it makes some of the newly managed children viewable:

	    -	 Calls the change_managed routine of the widgets' parent.

	    -	 Calls on each previously unmanaged child that is unrealized.

	    -	 Maps each previously unmanaged child that has map_when_managed

       Managing children is independent of the ordering of children and independent of creating and deleting children.	The layout routine of the
       parent should consider children whose managed field is and should ignore all other children.  Note that some composite widgets, especially
       fixed boxes, call from their insert_child procedure.

       If the parent widget is realized, its change_managed procedure is called to notify it that its set of managed children has changed.  The
       parent can reposition and resize any of its children.  It moves each child as needed by calling which first updates the x and y fields and
       then calls if the widget is realized.

       The function constructs a of length one and calls

       The function performs the following:

       o    Issues an error if the children do not all have the same parent or if the parent is not a subclass of

       o    Returns immediately if the common parent is being destroyed; otherwise, for each unique child on the list, performs the following:

	    -	 Ignores the child if it already is unmanaged or is being destroyed and marks it if not.

	    -	 If the child is realized, it makes it nonvisible by unmapping it.

       o    Calls the change_managed routine of the widgets' parent after all children have been marked if the parent is realized.

       does not destroy the children widgets.  Removing widgets from a parent's managed set is often a temporary banishment, and, some time later,
       you may manage the children again.

       The function constructs a widget list of length one and calls

See Also
       XtMapWidget(3Xt), XtRealizeWidget(3Xt)
       X Window System Toolkit: The Complete Programmer's Guide and Specification, Paul J. Asente and Ralph Swick
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

															     XtManageChildren(3Xt)
All times are GMT -4. The time now is 05:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy