11-03-2014
Quote:
Originally Posted by
achenle
You know, you could Google it...
I googled it and everywhere 404 links.
There is no working link.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all, I'm glad there's a section called UNIX for dummies on this forum cause when it comes to UNIX, I am certainly a dummie. I honestly don't have a clue about 98% of the UNIX commands out there so forgive me if this is a really stupid question.
I'm trying to set up a MySQL server on my Mac... (7 Replies)
Discussion started by: kguenther
7 Replies
2. Programming
Can someone enligten me on what below program does?
I understand getchar and putchar.. but what is this program suppose to do?
I try to put printf on it, but it shows nothing..
can someone explain to me what this program is suppose to do?
It is reading something and assigning to c?
so, if... (8 Replies)
Discussion started by: convenientstore
8 Replies
3. Programming
is there any difference between "char*" and "char *" (1 Reply)
Discussion started by: amol munde
1 Replies
4. Shell Programming and Scripting
Here's my script:
/bin/script.sh
echo "hey __, don't forget the password is "kazlo""
echo "insert the name of your file in the... (1 Reply)
Discussion started by: cleansing_flame
1 Replies
5. Programming
Hello, Ive got to amke a script to calculate how many emails are in the servers mailbox, how many times each IP address appears in the mailbox and to search for keywords, tehn produce the results in HTML report. The thing is I dont know where to start and what the best language to use would be.
... (4 Replies)
Discussion started by: clueless
4 Replies
6. Shell Programming and Scripting
Hi all,
I need to 'create' a new simple scripting language in order to allow SCADA operators make complex tasks against the system in an easy and friendly way.
In other words I need to write mini modules with DB readings or writings, calculations, and so on, but these instructions must be written... (2 Replies)
Discussion started by: silex
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Just got handed this script
set def = HLA_DR.pockets
set data = DRB1_1501.dat
foreach a ( 'cat $data | args 3 |sort -u' )
cat $def | xC | grep -v $a > $$.def
cat $data | grep $a | args 1,2 > $a.dat
set pseudo = `cat MHCDR_pseudo.dat | grep HLA | grep $a | args 2`... (8 Replies)
Discussion started by: lost
8 Replies
8. Programming
Hi guys,
Assembly language is a low level language designed in 1950's, both system and application programs were written in assembly at that time. There is no question of assembly being very effecient compared to the other high level languages. But it is very cumbersome to write programs in... (9 Replies)
Discussion started by: gabam
9 Replies
LEARN ABOUT DEBIAN
stconvertpattern
ststring(3) ShapeTools Toolkit Library ststring(3)
NAME
stConvertPattern, stSubstituteString, stStrtok, stStrEnter - string handling
SYNOPSIS
#include <config.h>
#include <sttk.h>
char* stConvertPattern (char *pattern);
char* stSubstituteString (char *original, char *old, char *new);
char* stStrtok (char *string);
char* stStrEnter (char *string);
DESCRIPTION
stConvertPattern converts sh(1) filename generation patterns to ed(1) string patterns.
question (?)
gets converted to period (.)
asterisk (*)
gets converted to a period followed by an asterisk (.*)
period (.)
will be escaped by a backslash character (.).
exclam (!)
gets converted to circumflex (^) if it follows an left bracket ([). Otherwise it remains unmodified.
The whole pattern will be enclosed in a circumflex (^) as leftmost an a dollar sign ($) as rightmost character.
stSubstituteString replaces all occurrences of substring old in original by string new. It returns a pointer to an allocated string that is
the result of this operation. Returns NULL if anything goes seriously wrong.
stStrtok considers the string string to consist of a sequence of zero or more text tokens separated by whitespace. The first call (with
pointer string specified) returns a pointer to the first character of the first token, and will have written a null character into string
immediately following the returned token. The function keeps track of its position between separate calls, so that subsequent calls (which
must be made with the string argument set to NULL) will work through the string immediately following that token. In this way subsequent
calls will work through the string until no tokens remain. When no token remains in string, a NULL pointer is returned.
stStrEnter adds the given string to an internal string table and returns a pointer to appropriate string table entry. Equal strings are
mapped to equal locations in the table. Equality of two strings in the string table can be checked by simple pointer comparison.
SEE ALSO
sh (1), ed (1)
sttk-1.7 Thu Jun 24 17:43:33 1993 ststring(3)