Search Results

Search: Posts Made By: ndedhia1
4,301
Posted By ndedhia1
How do i lock a ksh shell script?
Hi,
I have a ksh shell script that accesses databases to drop and create tables and the script also creates text files.
This shell script is accessed thru a java application that i would like to...
9,671
Posted By ndedhia1
Write to file using tail -f through a pipe to grep
Hi -- I'm looking to write to a file after piping output from tail -f through to grep:

#write to a file for all lines with "searchtext" within in error_log:

Expand|Select|Wrap|Line Numbers...
1,470
Posted By ndedhia1
Outputting discarded GREP lines to a file
I had a question about grep.
If I grep for something in a file, the output shows me all the lines in which that 'something' is contained in.
Is there a way to also output all the lines in which...
3,063
Posted By ndedhia1
I really want to thank you!! This worked out...
I really want to thank you!!
This worked out for me...
if you have a second, can you break down the code a bit to explain what you did. I am just trying to learn as much as i can.

Thanks a...
3,063
Posted By ndedhia1
i just realized that the line ends with a space...
i just realized that the line ends with a space after the 0 at the end.
Is there a way to do it so that we can have each line start with "low" but end with '" 0 ' (thats a quote space zero space)
...
3,063
Posted By ndedhia1
I tried that put I did not get any result. Can...
I tried that put I did not get any result.
Can you please explain to me what the code is doing?
Maybe I can explain it better also:
I have a file in which contains lines or error messages.
Those...
3,063
Posted By ndedhia1
Ignoring newlines in my search
I have a file that has lines that are deliminated with '^A', but some of the lines go for a few lines and I need those lines to be appended into one line.

All of the lines start with 'low debug'...
2,568
Posted By ndedhia1
searching thru or combining multiple lines in a unix file
This is the problem actually:
This regex:

egrep "low debug.*\".*\"" $dbDir/alarmNotification.log

is looking for data between the two quotation marks:

".*\"


When I hate data like this:...
Showing results 1 to 8 of 8

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