Search Results

Search: Posts Made By: a27wang
5,555
Posted By a27wang
thank you!
thank you!
5,555
Posted By a27wang
awk filter numbers inbetween
Hi,

I have a file which has a number in each line ( i think they are strings )
I will have a $first and $last variable, which are strings but contains only numbers. Also a file $f, I want to...
4,044
Posted By a27wang
I am confident these are in unix format, at the...
I am confident these are in unix format, at the beginning I was having trouble reading in the '\r' then I fixed everything up...

Before I used

awk -F, -v stime="$sstart" -v etime="$eend" '
...
4,044
Posted By a27wang
Hmm this is weird, originally I made a mistake...
Hmm this is weird, originally I made a mistake and changed the variable names to something else I did not declare, but now I just copy your code, or fix the variable names, nothing is getting...
4,044
Posted By a27wang
every file is very large... but I will try to...
every file is very large... but I will try to minimize it, I did your search in a folder of log files, which has different dates. So it must have worked for the 2010-07-19 part, but the time part did...
2,373
Posted By a27wang
This is not always the case, if you had read my...
This is not always the case, if you had read my original problem.. thanks though.
2,373
Posted By a27wang
Thanks for the input Franklin52, I input the...
Thanks for the input Franklin52, I input the start and end time as follows:
2010 07 19 10 29 00
2010 07 19 10 30 00

and got the following lines from the log file:


2010-07-19 07:37:16...
4,044
Posted By a27wang
Thanks for the input Franklin52, I input the...
Thanks for the input Franklin52, I input the start and end time as follows:
2010 07 19 10 29 00
2010 07 19 10 30 00

and got the following lines from the log file:


2010-07-19 07:37:16...
2,373
Posted By a27wang
I am always always always providing a vend value,...
I am always always always providing a vend value, this is not what I was looking for at all, but thanks anyways.
4,044
Posted By a27wang
I am always always always providing a vend value,...
I am always always always providing a vend value, this is not what I was looking for at all, but thanks anyways.
2,373
Posted By a27wang
Thanks, but... vstart and vend will always be...
Thanks, but... vstart and vend will always be set... and how does that help in finding out the lines in between?
4,044
Posted By a27wang
Thanks, but... vstart and vend will always be...
Thanks, but... vstart and vend will always be set... and how does that help in finding out the lines in between?
2,373
Posted By a27wang
Thanks for helping, but it's still not working...
Thanks for helping, but it's still not working the way i want it to be,

the line
vend=${vend:-vstart}
doesn't seem to do anything, vend is still vend...

---------- Post updated at 12:51 PM...
4,044
Posted By a27wang
Thanks for helping, but it's still not working...
Thanks for helping, but it's still not working the way i want it to be,

the line
vend=${vend:-vstart}
doesn't seem to do anything, vend is still vend...

---------- Post updated at 12:51 PM...
1,828
Posted By a27wang
cat <file> | grep -w...
cat <file> | grep -w "^Jack.is.going.home$"
1,347
Posted By a27wang
wow thanks frans!
wow thanks frans!
1,347
Posted By a27wang
I am using cygwin... I don't think ruby works
I am using cygwin... I don't think ruby works
1,347
Posted By a27wang
Search and replace
Hi,

I have a variable which names the file path, like:

./home/folder1/a/b/c/file.txt

the names of the folders, and the number of upper level folders will be different, I want it just to...
2,373
Posted By a27wang
complicated date stamp pattern
Hi,

I have a log file which contains lines like below:

2010-07-19 07:13:19,021 ERROR system ...(text)
2010-07-19 07:22:03,427 ERROR system ...(text)
class com... (text)
2010-07-19...
4,044
Posted By a27wang
awk search pattern
Hi,

I have a log file which contains lines like below:

2010-07-19 07:13:19,021 ERROR system ...(text)
2010-07-19 07:22:03,427 ERROR system ...(text)
class com... (text)
2010-07-19...
13,730
Posted By a27wang
oops.. I'm trying to close this thread but don't...
oops.. I'm trying to close this thread but don't know how
13,730
Posted By a27wang
Yes, everything should be PAT_logs, I just typed...
Yes, everything should be PAT_logs, I just typed the post in the wrong case sorry.
3,895
Posted By a27wang
Yes, everything should be PAT_logs, I just typed...
Yes, everything should be PAT_logs, I just typed the post in the wrong case sorry.
13,730
Posted By a27wang
remove pattern with sed
Hi,

i want to remove a certain pattern when i type pwd.

pwd will look like this:

..../....../....../Pat_logs/..../....../...../......

the dotted lines are just random directory names,...
3,895
Posted By a27wang
[solved] remove pattern with sed
Hi,

i want to remove a certain pattern when i type pwd.

pwd will look like this:

..../....../....../Pat_logs/..../....../...../......

the dotted lines are just random directory names,...
Showing results 1 to 25 of 30

 
All times are GMT -4. The time now is 07:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy