01-15-2014
What is this file? How big is it?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I want to check whether file has EOL or NOEOL before opening this file in VI editor. My file is very big its in terms of 15-20 MB.
I am using ksh for this.
When we opened the file in vi editor, normally at last line we are able to see whether this is eol or noeol file. But i does want... (1 Reply)
Discussion started by: HariRaju
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
Does anyone know if this is a patch error or a real memory problem, its happening a lot and wanted to know what to expect if I reboot it.
prtdiag shows no errors.
the system is anetra running solaris9 5.9 Generic sun4u sparc SUNW,UltraSPARC-IIi-cEngine
Jan 5 15:23:39 t1 last message... (1 Reply)
Discussion started by: sun-days
1 Replies
3. AIX
Hi ,
I am working on AIX 5.3 server.I have small program which stores the from database to a particaular shared memory.But while retreiving the valus from the same shared memory, i am getting wrong values.
Please help..... (1 Reply)
Discussion started by: ajaysahoo
1 Replies
4. Programming
Hello All,
My application is followed J2ee architecture. It contains Java and jsp codes.
This application generates some reports in pdf format. I am using Weblogic 10.3 and jdk 6.
While I want to open the pdf in IE 6 with service pack 2 , the pdf not showing properly. It comes in byte code.... (3 Replies)
Discussion started by: priyankak
3 Replies
5. Shell Programming and Scripting
The following is a piece of code to rename LOG_FILE_NEW to LOG_FILE once you get a result (either RUNNING or SHUTDOWN)
RESULT=""
sleep 30
while ; do
sleep 10
RESULT=`sed -n '/RUNNING/'p ${LOG_FILE_NEW}`
if ; then
RESULT=`sed -n '/SHUTTING_DOWN/'p ${LOG_FILE_NEW}`
fi
done
mv... (3 Replies)
Discussion started by: sonorous
3 Replies
6. Programming
Hi,
I have written a function which will open the file with the input name provided.Input name is in string format so while opening I am converting it using c_str().detail code below Plz let me know what is the wrong in code.
1 #include<iostream>
2 #include<fstream>
3 ... (4 Replies)
Discussion started by: forstudy3
4 Replies
7. Windows & DOS: Issues & Discussions
Hello,
I know nothing about UNIX, ftp, etc. I am building an excel VBA macro which calls a .bat file. I've taken a pre-existing batch file and am trying to modify it to fit my purposes. I would be very grateful for some assistance.
Here is my .bat file:
echo off
set... (9 Replies)
Discussion started by: starcraftbud
9 Replies
8. Solaris
I downloaded vim.7.2 and compiled the vim source .
Added the vim binary path to PATH (Because iam not the root of the box)
when i load the file using vim it throws me an error
Error detected while processing /home2/e3003091/.vimrc:
line 2:
E185: Cannot find color scheme darkblue
line... (0 Replies)
Discussion started by: girija
0 Replies
9. UNIX and Linux Applications
Anybody know a equivalent program similar to T-Search for Mac and Linux. T-Search allows a person to load a program and edit memory values. Many people use to it edited lives or scores on games etc... (1 Reply)
Discussion started by: codecaine
1 Replies
10. Shell Programming and Scripting
I created a shell with sed -i option. It is giving error - No such file or directory
Ex -
sed -i 's/yes/no' yes.txt
sed -i 's/why/where' yes.txt
sed -i 's/when/how' yes.txt
Error - :No such file or directory
When I run single line in my script say sed -i 's/yes/no' yes.txt... (10 Replies)
Discussion started by: yahoo
10 Replies
LEARN ABOUT FREEBSD
strcasestr
STRSTR(3) BSD Library Functions Manual STRSTR(3)
NAME
strstr, strcasestr, strnstr -- locate a substring in a string
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <string.h>
char *
strstr(const char *big, const char *little);
char *
strcasestr(const char *big, const char *little);
char *
strnstr(const char *big, const char *little, size_t len);
#include <string.h>
#include <xlocale.h>
char *
strcasestr_l(const char *big, const char *little, locale_t loc);
DESCRIPTION
The strstr() function locates the first occurrence of the null-terminated string little in the null-terminated string big.
The strcasestr() function is similar to strstr(), but ignores the case of both strings.
The strcasestr_l() function does the same as strcasestr() but takes an explicit locale rather than using the current locale.
The strnstr() function locates the first occurrence of the null-terminated string little in the string big, where not more than len charac-
ters are searched. Characters that appear after a '