09-19-2000
Got it figured out...
Duh, that took me all of about 2 minutes to figure out...
find . -type f -exec grep -l word {} \; -exec grep word {} \; -exec echo \;
...and all the echo at the end does is put a space between the results to make them clear... *sigh*
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I wonder how I shall read the result below, especially 'what'
shown below.
The result was shown when I entered 'w'.
E.g what is TOP? What is gosh ( what does selmgr mean?)?
login@ idle JCPU PCPU what
6:15am 7:04 39 39 TOP
6:34am 6:45 45 45 TOP
6:41am ... (1 Reply)
Discussion started by: Aelgen
1 Replies
2. IP Networking
Greetings to all.
My new firewall is giving me one hell of a problem.
I'm running iptables and masquerading my intranet
thru NAT. But here is the problem. Whenever I try
to FTP to a server outside of my lan I get a 500
illegal port error.
I've come to the conclusion that NAT is... (2 Replies)
Discussion started by: phrater
2 Replies
3. Shell Programming and Scripting
Hello, this is probably another really simple tasks for most of you gurus, however I am trying to make a script which takes an input, greps a specific file for that input, prints back to screen the results (which are directory names) and then be able to use the directory names to move files.... (1 Reply)
Discussion started by: JayC89
1 Replies
4. Shell Programming and Scripting
I have a file that is 20 - 80+ MB in size that is a certain type of log file.
It logs one of our processes and this process is multi-threaded. Therefore the log file is kind of a mess. Here's an example:
The logfile looks like: "DATE TIME - THREAD ID - Details", and a new file is created... (4 Replies)
Discussion started by: elinenbe
4 Replies
5. Shell Programming and Scripting
Hello,
I'm writing a script that will automate the launch of some services on my AIX machine. However, some services are dependent on the successful startup of others. When I start these services manually, I usually just check a log file until I see a message that confirms a successful... (3 Replies)
Discussion started by: pallak7
3 Replies
6. Shell Programming and Scripting
This script is supposed to find out if tomcat is running or not.
#!/bin/sh
if netstat -a | grep `grep ${1}: /tomcat/bases | awk -F: '{print $3}'` > /dev/null
then
echo Tomcat for $1 running
else
echo Tomcat for $1 NOT running
fi
the /tomcat/bases is a file that... (2 Replies)
Discussion started by: ziggy25
2 Replies
7. Shell Programming and Scripting
This is driving me crazy, and I'm hoping someone can help me out with this. I'm trying to do a simple while loop to go through a log file. I'm pulling out all of the lines with a specific log line, getting an ID from that line, and once I have a list of IDs I want to loop back through the log and... (2 Replies)
Discussion started by: DeCoTwc
2 Replies
8. UNIX for Dummies Questions & Answers
Started using unix commands recently.
I have 50 gzip files. I want to grep each of these files for a line count based particular category in column 3. How can I do that?
For example
Sr.No Date City Description Code Address
1 06/09 NY living here 0909 10st st nyc
2 ... (5 Replies)
Discussion started by: jinxx
5 Replies
9. Shell Programming and Scripting
Hi,
I tried to grep ".sh_history" (DOTsh_history) file and did not return anything though I found the word in .sh _history file through vi editor in Linux. Then I tried to grep ".profile" to check if it is the prob with hidden files and I got results.
Then I verified the same with my friend... (4 Replies)
Discussion started by: bobbygsk
4 Replies
10. UNIX for Dummies Questions & Answers
Hi all,
Am writing a ksh script where I am looking for processes that has gone defunct and all of which has the same PPID
PID is the variable that I need to match as this is the process ID of the processes that has gone defunct
Am just curious how come the following DOES NOT work?
ps... (6 Replies)
Discussion started by: newbie_01
6 Replies
LEARN ABOUT DEBIAN
cppunit-config
cppunit(1) General Commands Manual cppunit(1)
NAME
cppunit-config - script to get information about the installed version of cppunit
SYNOPSIS
cppunit-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]
DESCRIPTION
cppunit-config is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and link pro-
grams that use cppunit. It is also used internally to the .m4 macros for GNU autoconf that are included with cppunit.
OPTIONS
cppunit-config accepts the following options:
--version
Print the currently installed version of cppunit on the standard output.
--libs Print the linker flags that are necessary to link a cppunit program.
--cflags
Print the compiler flags that are necessary to compile a cppunit program.
--prefix
Print the prefix with which cppunit was compiled.
--prefix=PREFIX
If specified, use PREFIX instead of the installation prefix that cppunit was built with when computing the output for the --cflags
and --libs options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be specified
before any --libs or --cflags options.
--exec-prefix
Print the exec-prefix with which cppunit was compiled.
--exec-prefix=PREFIX
If specified, use PREFIX instead of the installation exec prefix that cppunit was built with when computing the output for the
--cflags and --libs options. This option must be specified before any --libs or --cflags options.
COPYRIGHT
cppunit Copyright (C) 1996-2000 by Michael Feathers <mfeathers@objectmentor.com>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation,
Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
AUTHOR
This manpage is an almost word-for-word copy of the gtk-config manpage, written by Owen Taylor. It was modified by E. Sommerlade
<eric@sommerla.de>.
September 2001 cppunit(1)