1 . Thanks everyone who read the post first.
2 . I have a log file which size is 143M , I can not use vi open it .I can not use xedit open it too.
How to view it ?
If I want to view 200-300 ,how can I implement it
3 . Thanks (3 Replies)
am currently working on a batch processing script and i am stuck
I am not very familiar with the korn shell I need to do the following:
Process an input file with the following
information:
SOURCE FILE
533650_MSCIEUROPE_AvgWeight_YTD_EXP.XLS/Daily/test/Ceurope/EuropeFactset/YTD/... (1 Reply)
Hi,
I am using Sun Solaris 5.9 OS. I have found a file called wtmpx having a size of 5.0 GB. I want to clear this file using :>/var/adm/wtmpx. My query is, would it cause any problem to the running live system.
Could anyone suggest the best method to clear the file without causing problem to... (6 Replies)
Hi
I have two files, one is 1.6 GB. I would like to add one extra column of information to the large file at a specific location (after its 2nd column).
For example:
File 1 has two columns more than 1000 rows like this
MM009987 1
File 2 looks like this
MM00098 MM00076 3 4 2 4 2... (1 Reply)
We got data that was supposed to be CSV, but was sent in a huge XML file.
I've downloaded xmlstarlet, but I'm darned if I can get it to operate the "sel" feature to look down a path and get any sort of value. I see pieces of what should be paths, but they seem to have extraneous characters, and... (7 Replies)
Hello Friends,
I have a big file that is transferred to my UNIX system and it seems it has CR as the line delimiter
When I run
file <filename>
<filename>: ASCII text, with CR line terminators
How do I convert the file to one with LF as terminators so that my code that runs on UNIX can... (3 Replies)
Discussion started by: mehimadri12
3 Replies
LEARN ABOUT BSD
strstr
STRSTR(3) Library Functions Manual STRSTR(3)NAME
strstr - locate a substring in a string
SYNOPSIS
#include <string.h>
char *
strstr(big, little)
char *big, *little;
DESCRIPTION
The strstr() function locates the first occurrence of the null-terminated string little in the null-terminated string big. If little is
the empty string, strstr() returns big; if little occurs nowhere in big, strstr() returns NULL; otherwise strstr() returns a pointer to the
first character of the first occurrence of little.
SEE ALSO index(3), memchr(3), rindex(3), strchr(3), strcspn(3), strpbrk(3), strrchr(3), strsep(3), strspn(3), strtok(3)STANDARDS
The strstr() function conforms to ANSI C X3/159-1989 (``ANSI C'').
4.4 Berkeley Distribution January 15, 1996 STRSTR(3)