If you give us the things you are searching for we can help you create the search patterns.
hey Jim thanks!
The file has a bunch of text and numbers but I just need to gather a number that is on like the 20th line of the file but the number is also after some text like this:
text file:
text
text
text
text
total numbers of something: 250900
total numbers of another thing: 750325
text
text
text
How do I get my script to go to those numbers? i will likely be putting them into a variable for computation and then so on for each file in the folder until they have all been gone through.
Dear all,
I just found out that my company is thinking of installing a unix server and is considering either sun or ibm.
The thing is that i want to learn these two systems before they take a decision and maybe it will be a big career booster.
The problem is that i don't know anything about... (7 Replies)
Hi im a 15 year old, interested in beggining things like this...my main inpiration came from this article...How To Become A Hacker
according to this my first language shouold be python...but i have ABSOLUTELY NO CLUE about where to dowload/learn it...is there anything else i should do along... (1 Reply)
When I run the following script I get the following error message whcih I would like to suppress when the kill is issued:
./kill.sh: line 13: 31854 Killed nc -l -p 12345
Script:
#!/bin/bash
echo running nc in the background
nc -l -p 12345 &
PID=$!
echo nc pid: $PID
... (1 Reply)
hi world,
I am trying to learn how to program in c, I've gotten a few books and have been reading them, one even came with bloodshed dev-c compiler, it is not working, every time I build the hello world program it always comes back saying " G__~1.EXE: installation problem, cannot exec `cpp': No... (1 Reply)
I try to write a python script, which analyze user logon time with "who" command.
When i start script in bash, i get this result:
USER=mnadmin tty7 2009-04-18 11:37 (:0)
But when i start script in cron, i get result like this:
USER=mnadmin tty7 Apr 18 11:37 (:0)
I see -... (2 Replies)
Hi
I want to know if there is anyway I can find out how long it has been since I started my script or total time it has been since my script is executing.
Idea here is I want to check if my script is taking more than 30minutes to execute I want to kill that process.
Thanks in advance. (1 Reply)
How can i ceck as shellscript, if a other shellscript has been started?
The other script can bee started by a other user.
The task will not run twice (5 Replies)
Hi, maybe someone could help me optimizing this little script.
It works so far, but when running, reboot does not work. If kill inotifywait reboot from shell works. I think some optimization is required here.
This script starts at the end of the boot process, from an external device and... (3 Replies)
Discussion started by: lowmaster
3 Replies
LEARN ABOUT OSF1
xmtextsethighlight
XmTextSetHighlight(3X)XmTextSetHighlight(3X)NAME
XmTextSetHighlight - A Text function that highlights text
SYNOPSIS
#include <Xm/Text.h>
void XmTextSetHighlight (widget, left, right, mode)
Widget widget;
XmTextPosition left;
XmTextPosition right;
XmHighlightMode mode;
DESCRIPTION
XmTextSetHighlight highlights text between the two specified character positions. The mode parameter determines the type of highlighting.
Highlighting text merely changes the visual appearance of the text; it does not set the selection. Specifies the Text widget ID Specifies
the position of the left boundary of text to be highlighted. This is an integer number of characters from the beginning of the text buffer.
The first character position is 0. Specifies the position of the right boundary of text to be highlighted. This is an integer number of
characters from the beginning of the text buffer. The first character position is 0. Specifies the type of highlighting to be done. A
value of XmHIGHLIGHT_NORMAL removes highlighting. A value of XmHIGHLIGHT_SELECTED highlights the text using reverse video. A value of
XmHIGHLIGHT_SECONDARY_SELECTED highlights the text using underlining.
For a complete definition of Text and its associated resources, see XmText(3X).
SEE ALSO XmText(3X)XmTextSetHighlight(3X)