Search Results

Search: Posts Made By: Takau
1,228
Posted By Takau
Perfect thanks, I knew I was over thinking this...
Perfect thanks, I knew I was over thinking this worked great.
1,228
Posted By Takau
Line by Line combining 2 files
I am trying to take 2 files and merge them into a single file pulling one line out of each file at a time. Below is an example of what I am trying to do, thanks for any help in advance.

Example...
1,214
Posted By Takau
Oh I see where I messed up. Thanks again for...
Oh I see where I messed up.
Thanks again for explaining it, I won't make that mistake again. :)
1,214
Posted By Takau
That worked. Thanks. Guess I had...
That worked.
Thanks.

Guess I had something wrong in my syntax when I used \b.
1,214
Posted By Takau
Exact Text Replace
I am currently working with a bash script to change some names around in 3 files. I am attempting to do this with sed but I haven't been able to get it so it won't replace partial matches.

Below...
2,354
Posted By Takau
Ok that works when I use the code outside of any...
Ok that works when I use the code outside of any script. How would I use that inside my perl script below is the current setup I had and when I run this it doesn't change anything.


...
2,354
Posted By Takau
Below is a snippet from the file since it is...
Below is a snippet from the file since it is quite large, there would be one of these for each entries.


# 'Test' host definition
define host{
use generic-host
...
2,354
Posted By Takau
Yeah, sorry the \s was my latest test I guess I...
Yeah, sorry the \s was my latest test I guess I should have removed that from my example.
2,354
Posted By Takau
I tried it with \b and when I had it set to that...
I tried it with \b and when I had it set to that it didn't change any of the names.
2,354
Posted By Takau
Substitute Perl Script
I am having trouble with a part of my substitute script I am using. I have it look through a file and find an exact match and then if it finds that match in the 1 file it should run the following 1...
2,558
Posted By Takau
Wow, thanks for the help. My searches failed me...
Wow, thanks for the help. My searches failed me because I was making this more complex then it had to be. Sorry to waste your time.
2,558
Posted By Takau
Perl Variable Check Script
I am working on a perl script that is used to update a list of hosts to a certain file but I am having an issue when I try to perform a check to make sure the user enters valid information. The...
Showing results 1 to 12 of 12

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