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...
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.
I am attempting to display an entire database (its not large- only 125 rows for people to see, not touch) I am getting a result of:
"
Client 3.X Users
Resource id #2
"
on the website. Am I doing something wrong? This is my first pass at PHP. Any help would be appreciated. By the way...
I needed some help placing a series of png images on one web page. Someone threw this cript my way but it doesn't seem to work. All it displays is seven black boxes with a red x in each. Any help would be appreciated as I have absolutely no java skills whatsoever.
#!bin/sh...
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 have a file consisting of lines that are 140 characters long. Fields are designated by columns. For example... columns 1-3 contain a transaction ID, column 4 is a record ID, columns 5-8 are a name ID....etc.
I would like to either comma delimit or whitespace delimit this file so I can make it...
Help with Get Text.
I am trying to copy the last line of a display and send it as an error message. I am having limited success. I think the problem lies within my Get Text function. Any ideas? Please, no laughing as I am a comlpete novice when it comes to VB and VBA.
Sub copy_paste()...
I am connecting to work (Sun Solaris) via Cisco VPN over DSL. I would like to emulate some projects I am working on, on my Windows box. I have an xserver running on my Win XP box. Do I need to have our network guys set up something to pass through xserver data on VPN? I am unsure of what to set...
Hey,
I have a dumb question. I would like to add my RedHat machine to my "network". I have a wireless router connecting me to the internet with a laptop, a desktop, a handheld device connecting to it. I want to add my Linux box so I can update Perl Tk and some other stuff. For the sake...
Hey,
I have a dumb question. I would like to add my RedHat machine to my "network". I have a wireless router connecting me to the internet with a laptop, a desktop, a handheld device connecting to it. I want to add my Linux box so I can update Perl Tk and some other stuff. For the sake...
I would like to know if there is a typical setup for a Sun box that would collect data such as cpu usage for an individual process. I know scripts can be written and there is third part software like Patrol (yikes) to watch these things. AmI being naive in thinking that there is a set-up that...
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.