Sponsored Content
Full Discussion: Writing Own Minishell!
Top Forums Programming Writing Own Minishell! Post 87315 by vino on Saturday 22nd of October 2005 10:03:57 AM
Old 10-22-2005
For a start, why dont you search the forums databse ?

Last edited by vino; 10-22-2005 at 11:12 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

help for writing a script

Hi, I need help writing a unix script to change the time in the server automatically when it reaches a specified time. Only on the 14th of april, when the time becomes midnight (00:00:00), I need the server to change the time automatically to 23:30:00 and start working on as usual with a... (2 Replies)
Discussion started by: amodha
2 Replies

2. Shell Programming and Scripting

Writing to a file in different way

HI all, If I have 3 lines in variables such as follows x=Unix Forum y=Interactive Forum z=Unix Forum is Best Forum Now I want to write these 3 lines in a file so that that file will look like Unix Forum Interactive Forum Unix Forum is Best Forum How can I do it ? ... (4 Replies)
Discussion started by: dhananjaysk
4 Replies

3. Shell Programming and Scripting

writing scripts

What would happen if I didn't use "./" before writing a script? (4 Replies)
Discussion started by: ebethea27703
4 Replies

4. UNIX for Dummies Questions & Answers

writing a program

i have written a very simple program in the vi editor, how do i now make it an executable file? (3 Replies)
Discussion started by: carlvernon
3 Replies

5. Shell Programming and Scripting

Writing to another file

Hi, I have 2 unix files. I have to write all the information in the 2nd file to the 1st file at the end of the 1st file. What is the command for that. Pl tell me ASAP. Thanks (3 Replies)
Discussion started by: dreams5617
3 Replies

6. Shell Programming and Scripting

writing to a file

Hi All. I have the following simple shell program. It reads a number from the "/user/amit/bldno"; for example: file "bldno" contains value "100" After execution of the program the content should change to 101. --------- #!/usr/bin/tcsh V= `cat /user/amit/bldno` echo $V `rm -rf ... (1 Reply)
Discussion started by: amitrajvarma
1 Replies

7. Shell Programming and Scripting

Help in writing a script

Hey everyone Can anyone please write me a script to display numbers in descending order dynamically i.e if the user enter a number say 100 then the output should be like 100 99 ....so on till 0 I tried using the logic as for ((i =1; i<=100; i--) but the it goes into a infinite loop since even the... (7 Replies)
Discussion started by: icchi
7 Replies

8. Shell Programming and Scripting

Writing a File

#!/bin/bash ARCHIVE="$PWD" #ARCHIVE="/home/kschmidt/public_html/Files/DrMathArchive" NUMBERofDIRS=0 TEST="" for dir in `ls -l ${ARCHIVE}| egrep '^d' | awk '{print $9}'`; do for EACHFILE in `find ${ARCHIVE}/${dir} -type f -name "prob*" ` do ... (2 Replies)
Discussion started by: football12345
2 Replies

9. Shell Programming and Scripting

Writing a Startscript

I hope I have found the perfect place for my problem ... I have a dedicated server with some minecraftservers (java) which are connected via a Bungeecord on it. These all have a start.sh which looks in its folder like this: screen -A -m -d -S SERVERNAME java -jar -Xmx2048M -Xms2048M... (10 Replies)
Discussion started by: Spongebob
10 Replies

10. Shell Programming and Scripting

Not writing output

In the attached bash in the convert function the out_position.txt in not being writing to the annovar directory and I can not figure out why. Thank you :). (2 Replies)
Discussion started by: cmccabe
2 Replies
XmTextFindString(3X)													      XmTextFindString(3X)

NAME
XmTextFindString - A Text function that finds the beginning position of a text string SYNOPSIS
#include <Xm/Xm.h> Boolean XmTextFindString (widget, start, string, direction, position) Widget widget; XmTextPosition start; char *string; XmTextDirection direction; XmTextPosition *position; DESCRIPTION
XmTextFindString locates the beginning position of a specified text string. This routine searches forward or backward for the first occur- rence of the string starting from the given start position. If it finds a match, the function returns the position of the first character of the string in position. Specifies the Text widget ID. Specifies the character position from which the search proceeds. This is an integer number of characters from the beginning of the text buffer. The first character position is 0. Specifies the search string. Indicates the search direction. It is relative to the primary direction of the text. The possible values are: The search proceeds toward the end of the text buffer. The search proceeds toward the beginning of the text buffer. Specifies the pointer in which the first charac- ter position of the string match is returned. This is an integer number of characters from the beginning of the buffer. The first charac- ter position is 0. If the function returns False, this value is undefined. For a complete definition of Text and its associated resources, see XmText(3X). RETURN VALUE
Returns True if a string match is found; otherwise, returns False. SEE ALSO
XmText(3X), XmTextFindStringWcs(3X) XmTextFindString(3X)
All times are GMT -4. The time now is 08:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy