Sponsored Content
Full Discussion: Script unusual behavior
Top Forums UNIX for Beginners Questions & Answers Script unusual behavior Post 302996041 by RudiC on Tuesday 18th of April 2017 03:53:34 AM
Old 04-18-2017
Some input sample (as highlighted in my previous post)?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

very unusual question about while

is there anyway to make while run a command faster than per second? timed=60 while do command sleep 1 done i need something that can run a script for me more than one time in one second. can someone help me out here? (3 Replies)
Discussion started by: Terrible
3 Replies

2. UNIX for Dummies Questions & Answers

Odd .sh behavior in script

Hello, I have been working on a what I thought was a fairly simple script for installing a software kit on Linux and Unix I am not new to scripting but am far from being fluent in sh scripting. any assistance would be appreciated. I have an odd bug occuring when executing the script. When... (2 Replies)
Discussion started by: robertmcol
2 Replies

3. UNIX for Dummies Questions & Answers

Weird Behavior of a Script

ok, there's a script i'm working on written in shell programming. #!/bin/sh this script is written to spit out the contents of certain variables inside of it so the output looks something like this: server01=89 server02=69 server03=89 server04=76 now, when i run this script from the... (4 Replies)
Discussion started by: SkySmart
4 Replies

4. Solaris

RC script behavior within Zones

Is there a difference in behavior with start up scripts that are inside of local zones, were trying to write some startup scripts, and it appears things are not running the same, and in some cases, it appears that rc sctripts are not running at all. Anyone else run into this? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

5. Shell Programming and Scripting

Unusual Problem

what is wrong with the below script: --------------------------------------------------------------------------------- #!/bin/bash echo "Setting JrePath..." grep -w "export JrePath" /etc/profile Export_Status=$? if echo "JrePath declared" elif echo "JrePath not declared" echo... (4 Replies)
Discussion started by: proactiveaditya
4 Replies

6. Shell Programming and Scripting

Script is showing abnormal behavior...

Hi, facing unusual problem, below are 2 same scripts, one is working and other is not. please help --- THIS SCRIPT IS WORKING FINE!!!! #! /bin/sh phone=`grep "<phone>" data.xml | sed 's:<phone>::;s:</phone>::'` echo "Phone Number is:"$phone repnum=554156 cat data.xml | sed -e... (3 Replies)
Discussion started by: Prateek007
3 Replies

7. Shell Programming and Scripting

Behavior of Bad Script in Cron Job

Hi A Ksh script is deployed in a server and executed through cronjob. If one of the line in the middle of the script fails . Are the remaining lines executed ? (3 Replies)
Discussion started by: Sivaswami
3 Replies

8. HP-UX

Unusual Behavior?

Our comp-operator has come across a peculiar ‘feature'. We have this directory where we save all the reports that were generated for a particular department for only one calendar year. Currently there are 45,869 files. When the operator tried to backup that drive it started to print a flie-listing... (3 Replies)
Discussion started by: vslewis
3 Replies

9. Shell Programming and Scripting

shell script behavior is strange or I'm not understanding

Hi I have wrote the small script, where $SRC=$HOME the input file is simple text file having directories in my $SRC on pre line desktop download myfiles games #!/bin/bash FILENAME=$1 ERROR_LOG="$SRC/err.$$.log" while read line do echo "########## strat Gmake $line... (6 Replies)
Discussion started by: the.reverser
6 Replies

10. UNIX for Dummies Questions & Answers

unusual problem with cp command

I have made a simple script to zip a file then first copy it to a specific directory using cp command then move it to another directory. Files are getting generated at regular intervals in the dir. /one/two/three/four/. I have entry of my script in cron to run after every 2 min. #!/bin/sh... (9 Replies)
Discussion started by: Devesh5683
9 Replies
DwtSTextGetSelection(3Dwt)												DwtSTextGetSelection(3Dwt)

Name
       DwtSTextGetSelection - Retrieves the global selection, if any, currently highlighted in the simple text widget.

Syntax
	    char *DwtSTextGetSelection(widget)
	    Widget widget;

Arguments
       widget	 Specifies the widget ID.

Description
       The DwtSTextGetSelection function retrieves the text currently highlighted (selected) in the simple text widget.  It returns a NULL-pointer
       if no text is selected in the widget.  The application is responsible for freeing the storage associated with the string by calling XtFree.

Return Values
       This function returns the text currently highlighted on the screen.

See Also
       DwtSText(3Dwt), DwtSTextGetString(3Dwt), DwtSTextSetEditable(3Dwt),  DwtSTextGetMaxLength(3Dwt),  DwtSTextGetMaxLength(3Dwt),  DwtS-
       TextSetSelection(3Dwt), DwtSTextClearSelection(3Dwt)
       Guide to the XUI Toolkit: C Language Binding
       Guide to the XUI Toolkit Intrinsics: C Language Binding

															DwtSTextGetSelection(3Dwt)
All times are GMT -4. The time now is 10:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy