I have a list of items in one file (ITEMS). I need to loop through this list of items and search another file(LOGFILE) to see if the item string is anywhere in the log file.
For speed's sake it only needs to find one instance of the item string and kick out. So whether it is in the logfile once...
Thanks but your idea seems a little involved. Is there nothing within Access itself that would run a a query for 176 of 800+ userids and return the name and contact associated?
Total Novice.
I have a database that contains , amongst many others, three fields: "userid", "name", and "contact". I have a list of 176 userids that I need to procure the name and contact for. Please tell me that there is an easy way to write a "for loop" type query solution within Access. And...
If I have a file containing a single string on each line, how would I load all of the strings into an array?
I was mistaken in believing that you can just ...
@array = file
but that only loads the name of the file. Any help would be appreciated.
...mysql_connect($host,$username,$password) or die("Cannot connect to the database.<br>" . mysql_error());
mysql_select_db($database) or die("Cannot select the database.<br>" );
$result = mysql_query("SELECT * FROM upgrade");
echo "$result";
?>
...in each. Any help would be appreciated as I have absolutely no java skills whatsoever.
#!bin/sh
parent="/opt/apache_1.3.26/htdocs/blah/blah/*png"
echo "
<html>
<head>
<title>My Image page</title>
<script>
function grabImage(name) {
var newwin;
newwin...
OK...I have to get out of the habit of letting other people do all of the thinking. I executed it and put the output to an .html file. I browsed to it and found 7 boxes (the same number of images---some success) but the images are not displayed they are merely black boxes crowded next to each...
I have a directory...
/opt/apache_1.3.26/htdocs/blah/plots
...full of image files (.png files produced by gnuplot)Currently I just browse to the directory and view them one by one. I would like to automatically view them on one web page. I update the image files every minute or so, if that...
I have a directory...
/opt/apache_1.3.26/htdocs/blah/plots
...full of image files (.png files produced by gnuplot)Currently I just browse to the directory and view them one by one. I would like to automatically view them on one web page. I update the image files every minute or so, if that...
OK...I am hoping that Perl is the answer for this....
I have a log file that updates every minute with the following.
[2002-10-02 09:38:11]: subject=TESTSTATS.TESTHOST.1029, message={HOST="TESTHOST" TID=1029 CONNS=6 BPS=3649}
[2002-10-02 09:38:11]: subject=TESTSTATS.TESTHOST2.1286...
Using sed...how do I delete lines beginning with a bracket?
I have tried
>sed -e '^[/d' test.txt
How would I delete a line that begins with a bracket and ends with a bracket?
I know I am missing something with regards to the bracket acting like a special character. Any help would be...
I need some help validating a user entered string. I know this is basic programming stuff...but...
I am asking for a user to input an "e" or an "f"
How do I kick out of the script if it is neither?
There must be a way to do
if $I != [e,f]
then
echo " I said e or...
I get this
>awk 'commadelimiter' test.log
awk: syntax error near line 1
awk: bailing out near line 1
==========================================================
Am I using the syntax correctly?
Here are the first couple of lines from commadelimiter.
{
transid =substr($0,1,3)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.