Sponsored Content
Full Discussion: problem with GREP, help plzz
Top Forums UNIX for Dummies Questions & Answers problem with GREP, help plzz Post 13446 by cs_sakthi on Thursday 17th of January 2002 08:29:16 AM
Old 01-17-2002
CPU & Memory problem with GREP, help plzz

I just want the output of this command to be stored in a variable like,

str = `grep Application.dbName serverdata/ServerProp.txt`

but while executing it says like,

str : startup 11: not found, where startup is the script name.

but while running the command alone like,

grep Application.dbName serverdata/ServerProp.txt

it works fine!!!

What may be the problem, plz do suggest

-Thanks,
Sakthi.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

grep problem

just a file with thousands of filenames and I wanna get all files with the same extension, like .Z for example.... users/123/a.Z users/424234/fafa.Z users/424234/asda.log daa/dsss/222/efesa-01002-01:00-A.Z how to solve this issue? when you make.. grep .Z file >newfile grep ".Z"... (5 Replies)
Discussion started by: svennie
5 Replies

2. Shell Programming and Scripting

shell script & sqlplus "plzz help"

hi friends, i m tryin to load data from one set of table to other i have sql procedure al ready for it..! i m going to load the procedure only if data in one of my table for example table "landing " have 10 records each attribute of this table is file_name status date ... (2 Replies)
Discussion started by: kulbir
2 Replies

3. Shell Programming and Scripting

I need to add something to a file, plzz help

The first step for you to create the script to change “JAVA_OPTS” variable definition as follows: Original line: JAVA_OPTS="-Dname=$JAVA_NAME -Xmx$JVM_MAX -DAGENT_HOME=$RT_HOME -DINSTALL_DIR=$RT_HOME -Djavax.net.ssl.keyStore=$RT_HOME/conf/client.keystore ... (3 Replies)
Discussion started by: asirohi
3 Replies

4. Shell Programming and Scripting

Not able to solve these questions plzz help

1.Display a list of /usr/share/doc subdirectories containing information about shells.How many README files do these subdirectories contain? Don't count anything in the form of "README.a_string". 2.Make a list of files in your home directory that were changed less that 10 hours ago, using grep,... (2 Replies)
Discussion started by: cynosure2009
2 Replies

5. Shell Programming and Scripting

grep with if problem

#!/bin/ksh a =`grep MAJOR filename | tail` if echo " " else echo " $a " fi filename is like alarmlog file which had alarms in it i am trying to grep the mejor alrms from the file.if there are any major alarms i have to print them else nothing. its giving me a syntax error. ./p.sh: a:... (6 Replies)
Discussion started by: arch12
6 Replies

6. Shell Programming and Scripting

Shell Script..plzz help

Hi all, if any body could help me out to automate the unix script for finding some particualar files which are based on dates like see every day i need check the TXT files which are being in processed and Sequential order based on dates For Example: files name starts at... (12 Replies)
Discussion started by: krux_rap
12 Replies

7. Shell Programming and Scripting

Strange errors with shell scripts..plzz help

Hi all... Please help me with this questions. I am not good at shell scripting. 1) It seems like there are many ways that we can run the shell scripts. what is the difference between each one? i)./shell_script.sh ii).(space)./ shell_script.sh iii)sh shell_script.sh ... (3 Replies)
Discussion started by: sanskumar2003
3 Replies

8. Homework & Coursework Questions

need help with a shel script plzz

hey how u doing guys ... I'm a student @ EMU and taking a beginner Linux class and I have those two extra credit project that im struggling with so I hope to get some correction and help write a shell script that will 1-prompt the user for a file name 2-check to see if the file exists... (2 Replies)
Discussion started by: flyman
2 Replies

9. UNIX for Dummies Questions & Answers

sed Or Grep Problem OR Terminal Problem?

I don't know if you guys get this problem sometimes at Terminal but I had been having this problem since yesterday :( Maybe I overdid the Terminal. Even the codes that used to work doesn't work anymore. Here is what 's happening: * I wanted to remove lines containing digits so I used this... (25 Replies)
Discussion started by: Nexeu
25 Replies
shevek::server< client, serverdata >::connection(3)	     Library Functions Manual	       shevek::server< client, serverdata >::connection(3)

NAME
shevek::server< client, serverdata >::connection - Base of the client class which is implemented by the calling program. SYNOPSIS
#include <server.hh> Inherits shevek::refbase. Public Member Functions void continue_reading () This is called after in->unread (), to resume accepting data from this connection. ~connection () Destructor. Public Attributes Glib::RefPtr< shevek::fd > in The input socket. The client can stop reading from this connection by calling in->unread (). Glib::RefPtr< shevek::fd > out The output socket. This is used to send data to the connection. Protected Member Functions connection () The client class can construct this object with its create function. Glib::RefPtr< server< client, serverdata > > get_server ()" Access to the server object which hosts this client. void disconnect () This can be called by the client object to close this connection. Friends class server< client, serverdata > Detailed Description template<typename client, typename serverdata>struct shevek::server< client, serverdata >::connection Base of the client class which is implemented by the calling program. A client object is created for every connection which is accepted. This class handles server administration and provides access to members from the client class. Author Generated automatically by Doxygen for libshevek from the source code. libshevek Fri May 11 2012 shevek::server< client, serverdata >::connection(3)
All times are GMT -4. The time now is 08:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy