Search Results

Search: Posts Made By: martin0852
2,896
Posted By martin0852
Thank you very much Guru and elixir_sinari, this...
Thank you very much Guru and elixir_sinari, this is exactly what I need.

Thanks!
2,896
Posted By martin0852
Hi elixir_sinari, Thanks a bunch works...
Hi elixir_sinari,

Thanks a bunch works great!
Now to try an make it even better (not a necessity)...

Is there a way to put a line space between each output of the instance?

I'm currently...
2,896
Posted By martin0852
Hi Guru, as in my above post the text I am...
Hi Guru, as in my above post the text I am looking through looks like the following:



And the command is currently outputting the following:



Ideally I would want to output just the...
2,896
Posted By martin0852
Hi Guru, Thanks for the code - It does 90%...
Hi Guru,

Thanks for the code - It does 90% of what I want:
The text it is lanalysing looks like this:

+=========================>>
Some stuff that evreryone should knnow
other...
2,896
Posted By martin0852
Extracting text between two strings, multiple instances
Hi experts,

Ive got a text file which has the following text which will occur in this format at least one time:

+=========================>>
Some stuff that evreryone should knnow
other...
1,137
Posted By martin0852
Thank you ---------- Post updated at 01:03...
Thank you

---------- Post updated at 01:03 PM ---------- Previous update was at 07:14 AM ----------

Hi,

I have been trying to get this to work without any joy,

The following is the code I...
1,137
Posted By martin0852
Hey, do I replace "file" with the...
Hey,

do I replace "file" with the filepath/filename?

Thanks for the reply btw
1,137
Posted By martin0852
Advanced string search + selection
Hi All,

I want to run a script that will search backwards through a text file until it finds a certain string, something like "Date/Time/Eng" and select a string which happens to be a date and...
10,758
Posted By martin0852
Hi Don, just checked the output of uname -a and...
Hi Don, just checked the output of uname -a and the following is what I get:

SunOS mxxxx 5.10 where mxxxx is the machine number.

So i looked up the awk command on solaris and i replaced the...
10,758
Posted By martin0852
Hi Don, thanks again for the help... The...
Hi Don, thanks again for the help...

The following is what I currently have :

#!/bin/sh
# Shell Script to compare file 1 and file 2 and print differences to file 3


# Tool number...
10,758
Posted By martin0852
Hi again don, Thanks again for your reply...
Hi again don,

Thanks again for your reply and input. I'll have access to the UNIX machine later on so I'll try what you suggested.

But to explain what exactly I am looking for in log1001.txt.
...
10,758
Posted By martin0852
Hi Don,that code I used was used from another...
Hi Don,that code I used was used from another thread on here about comparing two text files. So I'm not sure what that bit is doing, what I thought that was doing was taking the differences in file 2...
10,758
Posted By martin0852
Compare two text files and output difference
Hi experts,

I am trying to compare two text files and output the difference to another file.
I'm not strictly looking for differences in text but additional text at the end of one file that isn't...
3,295
Posted By martin0852
Hi Pamu, I put this in as a shell command...
Hi Pamu,

I put this in as a shell command but get a warning saying Variable syntax search_var:undefined variable

If this is something to do with defining the file to search then I'm not sure...
3,295
Posted By martin0852
I have attached the file I want to pull the text...
I have attached the file I want to pull the text from...
So this would be run between 06:00 and 07:00 and from the file I want anything done after 19:00 the previous day.
So the first set of action...
3,295
Posted By martin0852
Thanks very much for the quick response pamu! ...
Thanks very much for the quick response pamu!

That has some very helpful info but one thing,
How to I search so that it will look for the date and time AFTER a given DATE + TIME?

So the...
3,295
Posted By martin0852
IF statement dealing with current time
Hi Guys,

I am trying to put together a script that will search a txt file for a timestamp and select all text after the initial one up to EOF but the timestamp searched for will depend on the...
2,119
Posted By martin0852
Thanks Scrutinizer, I used the changes...
Thanks Scrutinizer,

I used the changes agama suggested, saved as passdown.sh, uploaded to machine, ran chmod +x passdown.sh
Then as super user ran ./passdown.sh and it worked.

So from running...
2,119
Posted By martin0852
Hi agama, Thanks for your speedy reply... ...
Hi agama,

Thanks for your speedy reply...

I may have left out a huge detail...hopefully not:o

The command I am trying to run is being run through the shell command feature in NEdit on a...
2,119
Posted By martin0852
Select text between current date and output to new txt file
Hi guys,
brand new to this thread and very very new to UNIX...so go easy please!

Anyway I have a file that looks like this:
...
Showing results 1 to 20 of 20

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