i'm trying to learn unix and i posted a question and what i was typing from school. i can't figure it out. how am i supposed to learn , when i get shutdown by an admin. for posting a homework question. doesn't make any sense. its a dumb rule. thanks for helping (4 Replies)
I have a string which contains following information:
<SZ.T><P ALIGN="CENTER"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="+3">Bundesregierung nimmt sich dicke Deutsche vor</FONT></P></SZ.T>
<SZ.UT><P ALIGN="CENTER"><FONT SIZE="+1"><I> Seehofer und Schmidt planen Kampagne gegen... (3 Replies)
I have concurrent manager stop and check to verify all the process are stopped BUT even after all the process are stopped query script continues to run without break out.
# stop the concurrent manager
$COMMON_TOP/admin/scripts/$CONTEXT_NAME/adstpall.sh $DB_USER/$DB_PSWD
# check if the... (1 Reply)
Hi I posted earlier. This is sorta similar but I want to delete rows that dont have R, T, Y or U.
Nam1 RTYU
Nam2 RRTT
Nam3 RYTU
Nam4 IRTT
So the output would look like this?
Nam1 RTYU
Nam2 RRTT
Nam3 RYTU
too many problems
thanks (3 Replies)
I am new to unix and have come across the sed expression but not sure what its doing. Can someone please tell me whats happening in the sed command below? (2 Replies)
Dear users,
I googled for a while, but i have got a lot of different answers regarding a simple unix command.
lets say there are a lot of files in a directory.
How can i list the files in a directory whose file types is "text"?
Thank you in advance (4 Replies)
Hello,
I wrote a script and disabled Ctrl+C using
trap ' ' 2
For security, I cannot allow users to exit the script on their own for then they would have access to the command prompt. Are there any other cases that I need to cover?
Thank you. I'm new to scripting. (6 Replies)
Discussion started by: fzivkovi
6 Replies
LEARN ABOUT OSX
string
STRING(3) BSD Library Functions Manual STRING(3)NAME
index, rindex, stpcpy, strcasecmp, strcat, strchr, strcmp, strcpy, strcspn, strerror, strlen, strncasecmp, strncat, strncmp, strncpy,
strpbrk, strrchr, strsep, strspn, strstr, strtok -- string specific functions
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <strings.h>
char *
index(const char *s, int c);
char *
rindex(const char *s, int c);
int
strcasecmp(const char *s1, const char *s2);
int
strncasecmp(const char *s1, const char *s2, size_t n);
#include <string.h>
char *
stpcpy(char *dst, const char *src);
char *
strcat(char *restrict s1, const char *restrict s2);
char *
strchr(const char *s, int c);
int
strcmp(const char *s1, const char *s2);
char *
strcpy(char *restrict s1, const char *restrict s2);
size_t
strcspn(const char *s1, const char *s2);
char *
strerror(int errnum);
size_t
strlen(const char *s);
char *
strncat(char *restrict s1, const char *restrict s2, size_t n);
int
strncmp(const char *s1, const char *s2, size_t n);
char *
strncpy(char *restrict s1, const char *restrict s2, size_t n);
char *
strpbrk(const char *s1, const char *s2);
char *
strrchr(const char *s, int c);
char *
strsep(char **stringp, const char *delim);
size_t
strspn(const char *s1, const char *s2);
char *
strstr(const char *s1, const char *s2);
char *
strtok(char *restrict s1, const char *restrict s2);
DESCRIPTION
The string functions manipulate strings that are terminated by a null byte.
See the specific manual pages for more information. For manipulating variable length generic objects as byte strings (without the null byte
check), see bstring(3).
Except as noted in their specific manual pages, the string functions do not test the destination for size limitations.
SEE ALSO bstring(3), index(3), rindex(3), stpcpy(3), strcasecmp(3), strcat(3), strchr(3), strcmp(3), strcpy(3), strcspn(3), strerror(3), strlen(3),
strpbrk(3), strrchr(3), strsep(3), strspn(3), strstr(3), strtok(3)STANDARDS
The strcat(), strncat(), strchr(), strrchr(), strcmp(), strncmp(), strcpy(), strncpy(), strerror(), strlen(), strpbrk(), strspn(), strcspn(),
strstr(), and strtok() functions conform to ISO/IEC 9899:1990 (``ISO C90'').
BSD December 11, 1993 BSD