Search Results

Search: Posts Made By: deneuve01
11,054
Posted By deneuve01
I used the sh code offered by MadeInGermany and...
I used the sh code offered by MadeInGermany and it is working perfectly.

Many thanks!
11,054
Posted By deneuve01
I tried that but it simply iterated the same...
I tried that but it simply iterated the same thing for each database name as it did for just the first name.
11,054
Posted By deneuve01
Foreach loop with two variables
I need to put together a script that will take the contents of two different files (database name and database owner) and put them in two variables within a line:


foreach x (`cat...
2,843
Posted By deneuve01
Here is the data with pipe delimiters so you can...
Here is the data with pipe delimiters so you can clearly identify the fields I am referencing:



|Refntns3_1 |char |30 |Ref H77 nt codon 1 |Reference H77 Nucleotide Codon 1 ...
2,843
Posted By deneuve01
Need to increment number in data file
Hello,

I have an Excel spreadsheet with the following data:


Refntns3_1 char 30 Ref H77 nt codon 1 Reference H77 Nucleotide Codon 1 ...
1,751
Posted By deneuve01
This worked perfectly ! Thank you !!
This worked perfectly ! Thank you !!
1,751
Posted By deneuve01
Find regex, place on individual lines and insert blank line before
Hello,

I have a file that I want to be able to insert a new line before every instance of a regex. I can get it to do this for each line that contains the regex, but not for each instance.
...
2,147
Posted By deneuve01
THANK YOU !!! That did the trick !
THANK YOU !!!
That did the trick !
2,147
Posted By deneuve01
Thank you ! I think that took care of everything...
Thank you ! I think that took care of everything but the 'End' line.
2,147
Posted By deneuve01
Thank you ! Unfortunately the code stripped...
Thank you ! Unfortunately the code stripped everything but the "Begin' lines.

This is what I should have posted the very first time - sorry for the confusion.


The log below >>>
Begin :...
2,147
Posted By deneuve01
thank you, that works for the line but I need to...
thank you, that works for the line but I need to run it through an entire transaction log file and change all of the lines that have 'Begin ' to the format I outlined above.
2,147
Posted By deneuve01
How to remove text between two expressions
I need to remove a section of text on a line that is between two patterns.
This is the line:
Begin : Transaction Id 00004d9e769065ab 04-Oct-2011 04:01:48.69 Username smith...
2,421
Posted By deneuve01
Looks like it truncated my whitespace yet again...
Looks like it truncated my whitespace yet again ...
Will keep you posted on this - pretty sure it works !
Thank you !

---------- Post updated at 02:15 PM ---------- Previous update was at 02:13...
2,421
Posted By deneuve01
I cut and pasted but it doesn't look like there...
I cut and pasted but it doesn't look like there are the right amount of spaces in my post - there should be three spaces after 'Begin' and before the ':'. With 'End', there are five spaces before the...
2,421
Posted By deneuve01
nawk ran but did not change the file ...
nawk ran but did not change the file ...
2,421
Posted By deneuve01
Both of these gave me syntax errors. Perl:...
Both of these gave me syntax errors.

Perl: Substitution replacement not terminated at -e line 1.
awk: syntax error near line 1
awk: bailing out near line 1
2,421
Posted By deneuve01
Removing consecutive lines in a file
We have very large transaction logs that have transactions which start with a line that starts with 'Begin :' and ends with a line that starts with 'End :'. For most transactions there is valid...
Showing results 1 to 17 of 17

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