Sponsored Content
Top Forums Shell Programming and Scripting [QUESTION] While umatched error Post 302732595 by Ryuinferno on Sunday 18th of November 2012 03:46:26 PM
Old 11-18-2012
Ok...but even though I set the condition for the while loop as [ $finish -ne 1 ], I still get the same error...what should I do to make a correct initialisation?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Error Question

Every night I recieve this message: Verify Report - Broken/missing symbolic links File With Discrepancies : 213 Total Discrepancies : 213 Can anyone explain what this is and how I can resolve it? Thanks, DJ At Work (4 Replies)
Discussion started by: djatwork
4 Replies

2. UNIX for Advanced & Expert Users

Question about error

While attempting to use ftp to retrieve a file from a remote server (running SCO Unix 5.0.2), it eventually returns a timeout error with the following message - netin: connection reset by peer. I can't find any reference to this error. Has anyone encountered it before, or know what causes it? (3 Replies)
Discussion started by: Howeird
3 Replies

3. Shell Programming and Scripting

Question about error reporting

hi all, i've got a script that takes in what a user enters (multiple entries) and then joins them all together and appends this to a file. what i want to happen now is the terminal should display "record saved" if the save to the file is successful, if it isn't just display the standard unix... (2 Replies)
Discussion started by: wazzag
2 Replies

4. Programming

C Question compilation error

What does the following mean: state_field state_abvr = { "AL","ALABAMA", "AK","ALASKA", . . . }; extern state_field state_abvr; issues we I am facing following compilation issue bosdf9d1:root make CC -I/bto/bcs/shared/include -I/bto/sys/BCS/usr/include ... (1 Reply)
Discussion started by: jaganreddy
1 Replies

5. Shell Programming and Scripting

Question on error from script

I used set -n FS.sh to check for syntax errors. No problems. I run the script with set -x and set -v with the following error: find: bad option ; find: path-list predicate-list Reviewing the verbose output everything is read correctly. The files transfer and the script completes. I can't seem... (4 Replies)
Discussion started by: BigSky
4 Replies

6. Filesystems, Disks and Memory

Question - error during boot

I have an HP NetServer LH3 which is exhibiting an error during the boot process. I am getting the following messages, none of which I've seen before 1. WARNING: SCSI adapter: Cannot install intr vecno=12 type=4 IPL=5 Vector 12 is private 2. WARNING: "TEST_UNIT_READY" Command timed 11 seconds... (0 Replies)
Discussion started by: slant-40
0 Replies

7. Programming

Newbie Question.. -> error: syntax error before ';' token

Hello, the following is generating a error at the line "tmprintf(&tmBundle, _TMC("{0}"),Prompt);"... a bit lost as I am diving into this debug... Thank you in advance... int H_YesNo(TMCHAR *Prompt, int DefVal) { TMCHAR YesNo = '\0'; tmprintf(&tmBundle, _TMC("{0}"),Prompt); while... (3 Replies)
Discussion started by: reelflytime
3 Replies

8. UNIX for Dummies Questions & Answers

Question on FTP Error Log

Hello All, Below is the control card or the file which i am using in shell script to mget files from remote machine via FTP. bash-3.00$ cat ftp_ALD_DAC.log open 10.xx.yy.zzz user D00000187 nb8tr4xx2u ascii cd prod/out lcd /Internal_Impact_TT_Input mget ALD*.TXT bye Below is the... (0 Replies)
Discussion started by: Ariean
0 Replies

9. Shell Programming and Scripting

Error redirection question

Hi gurus, I have a question, need some of your inputs... I have a command like this : export LINE_COUNT=`wc -l test.dat | awk '{print $1}'` echo $LINE_COUNT --- > gives me 2 which is fine as the file has 2 lines. This works fine if the file test.dat is present but in case... (3 Replies)
Discussion started by: calredd
3 Replies

10. Shell Programming and Scripting

Question about syntax error

first of all.. sorry about all the question bombing.. im bored atm so im currently playing around with sh scripting hehe s = `expr ls -s Documents | grep Music | awk '{ print $1 }' ` t = `expr $t + $s` it give syntax error s not found t not found lol... any idea why? (7 Replies)
Discussion started by: Nick1097
7 Replies
promptdialog(1) 						  [incr Widgets]						   promptdialog(1)

__________________________________________________________________________________________________________________________________________________

NAME
promptdialog - Create and manipulate a prompt dialog widget SYNOPSIS
promptdialog pathName ?options? INHERITANCE
itk::Toplevel <- dialogshell <- dialog <- promptdialog STANDARD OPTIONS
background borderWidth cursor exportSelection foreground highlightColor highlightThicknessinsertBackground insertBorderWidth insertOffTime insertOnTimeinsertWidth relief selectBackground selectBorderWidthselectForeground See the "options" manual entry for details on the standard options. ASSOCIATED OPTIONS
show See the "entry" widget manual entry for details on the above associated options. invalid textBackground textFont validate See the "entryfield" widget manual entry for details on the above associated options. labelFont labelPos labelText See the "labeledwidget" widget manual entry for details on the above associated options. INHERITED OPTIONS
buttonBoxPadX buttonBoxPadY buttonBoxPos padX padY separator thickness See the "dialogshell" widget manual entry for details on the above inherited options. height master modality width See the "shell" widget manual entry for details on the above inherited options. title See the "Toplevel" widget manual entry for details on the above inherited options. __________________________________________________________________________________________________________________________________________________ DESCRIPTION
The promptdialog command creates a prompt dialog similar to the OSF/Motif standard prompt dialog composite widget. The promptdialog is derived from the dialog class and is composed of a EntryField with commands to manipulate the dialog buttons. METHODS
The promptdialog command creates a new Tcl command whose name is pathName. This command may be used to invoke various operations on the widget. It has the following general form: pathName option ?arg arg ...? Option and the args determine the exact behavior of the command. The following commands are possible for promptdialog widgets: ASSOCIATED METHODS
delete get icursor index insert scan selection xview See the "entry" widget manual entry for details on the above associated methods. clear See the "entryfield" widget manual entry for details on the above associated methods. INHERITED METHODS
add buttonconfigure defaulthide invoke show See the "buttonbox" widget manual entry for details on the above inherited methods. childsite See the "dialogshell" widget manual entry for details on the above inherited methods. activate center deactivate See the "shell" widget manual entry for details on the above inherited methods. WIDGET-SPECIFIC METHODS pathName cget option Returns the current value of the configuration option given by option. Option may have any of the values accepted by the promptdia- log command. pathName configure ?option? ?value option value ...? Query or modify the configuration options of the widget. If no option is specified, returns a list describing all of the available options for pathName (see Tk_ConfigureInfo for information on the format of this list). If option is specified with no value, then the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value returned if no option is specified). If one or more option-value pairs are specified, then the command modifies the given widget option(s) to have the given value(s); in this case the command returns an empty string. Option may have any of the values accepted by the promptdialog command. COMPONENTS
Name: prompt Class: Entryfield The prompt component is the entry field for user input in the prompt dialog. See the "entryfield" widget manual entry for details on the prompt component item. EXAMPLE
option add *textBackground white promptdialog .pd -modality global -title Password -labeltext Password: -show * .pd hide Apply if {[.pd activate]} { puts "Password entered: [.pd get]" } else { puts "Password prompt cancelled" } AUTHOR
Mark L. Ulferts KEYWORDS
promptdialog, dialog, dialogshell, shell, widget Tk promptdialog(1)
All times are GMT -4. The time now is 07:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy