...everything before http: and after .js or .jsp or .html or .gif it will leave me with only the urls.
I am not so good at script syntax but here's what I've come up with so far.
[code]
grep "(_hit|MISS)/200)*.!\?*"log.txt --
[/code/
Would someone tell me what am I doing wrong?
Thanks in advance
Hi there, I have two structs where I am trying to copy from.
typedef struct {
char *netID[7];
int hopCount;
char *nextHop[2];
}Routers;
Routers one;
Routers two;
I read from file and set one.netID = something...
Hi i have a text file that I am unable to read properly.
Here's what I do.
/* tblD.txt */
NET06 1 --
NET25 1 --
/* se.h */
typedef struct {
char netID[7];
int hopCount;
char nextHop[2];
}Routers...
...#define PIPE_RD 0
#define PIPE_WR 1
int main(void)
{
int fds[2];
pipe(fds);
if(fork()){
/update the table for router B i.e. increment hop counts */
/* send message to A */
dup2(fds[1],STDOUT_FILENO);
/* got message from B. Facilitate a way to send in "B" */
execlp("test2","test2",NULL)...
Thanks for the heads up salem. I will be building a program that simulates behaviour similar to a router. I won't be dealing with real addresses but reading addressing info from text files and have different tables for all the links in the network. I think this post will serve as the base for my...
...= fork()) == -1)
{
perror("fork");
exit(1);
}
if(childpid == 0)
{
/* Child process closes up input side of pipe */
close(fd[0]);
/* Send "string" through the output side of pipe...
Hi there,
I have a windows service which should copy the file from one server to another. Suppose I created an xml file using xmltextwriter on server 1 location C:\tempp\test.xml, I want the service to copy this file to another server. say another servers C:\inetpub\wwwroot\foldername\. How am...
Hi there,
I have a site that was done in JSP and XML earlier. But now it has to be done in PHP and XML on tomcat.
I will need to provide authenticated security to the site as well for administrative purposes.
Basically everything is xml driven. I have to be able to read from xml files, write...
Hi there,
I have a matrix which has a column group and a column group which displays the report like this:
---------------------------------------------------
|_____|Population_________________________________|
|_____|_GROUP1______________|Group two____________|
|...
Hi there,
I have a matrix in which i want to display data in this manner:
________________________________________________________
|Store | Store1 | Store2 |WEST|Store3| Store4 | EAST |
|-------------------------------------------------------
|#OFprods| 45 | 43 | 88 | 43 | 54 |...
Hi there,
i have a report which generates grouped data. if i have one datarow for a group the datarow and group show up fine. but if i have more than one row for a data group it somehow skips the other rows and shows me the last row in the group. it works fine in the data view but not in the...
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.