Jay Savage wrote:
On Tue, Jul 8, 2008 at 10:52 AM, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
Rob Dixon wrote:
Noah wrote:
@config_file_lines = ;
s/\s+$/\n/ foreach @config_file_lines;
The newline is only necessary if you perform the substitution only on one
set of
records. If you also a
On Sun, Jul 6, 2008 at 6:57 PM, Noah <[EMAIL PROTECTED]> wrote:
> Hi there fellow PERL coders.
>
> I am trying to match lines between a template file and a configuration file.
> If the configuration is missing a particular line that is found in the
> template file then it is printed. If the confi
On Tue, Jul 8, 2008 at 10:52 AM, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
> Rob Dixon wrote:
>>
>> Noah wrote:
>>>
>>> Rob Dixon wrote:
Then I guess you are processing a file that originated on a Windows
system?
Windows text files have a sequence at the end of each record,
Gunnar Hjalmarsson wrote:
> Rob Dixon wrote:
>> Noah wrote:
>>> Rob Dixon wrote:
Then I guess you are processing a file that originated on a Windows system?
Windows text files have a sequence at the end of each record,
whereas
Unix files have just . is control-M, which is wh
Rob Dixon wrote:
Noah wrote:
Rob Dixon wrote:
Then I guess you are processing a file that originated on a Windows system?
Windows text files have a sequence at the end of each record, whereas
Unix files have just . is control-M, which is why vim is showing ^M at
the end of the line.
What you
Noah wrote:
> Rob Dixon wrote:
>> Noah wrote:
>>> Rob Dixon wrote:
Noah wrote:
> let me put toether some bogus output files.
You could just describe your output. Are you getting nothing at all? Or is
it
showing all lines of both files? Or none from one and all fr
Rob Dixon wrote:
Noah wrote:
in line Below
let me put toether some bogus output files.
You could just describe your output. Are you getting nothing at all? Or is it
showing all lines of both files? Or none from one and all from the other? Or
just more or fewer lines than you think is correc
Noah wrote:
Hi there fellow PERL coders.
Hello,
I am trying to match lines between a template file and a configuration
file. If the configuration is missing a particular line that is found
in the template file then it is printed. If the configuration file has
an extra line then it to gets
Noah wrote:
> in line Below
>
>>> let me put toether some bogus output files.
>>
>> You could just describe your output. Are you getting nothing at all? Or is it
>> showing all lines of both files? Or none from one and all from the other? Or
>> just more or fewer lines than you think is correct?
in line Below
let me put toether some bogus output files.
(Please bottom-post your responses to this group. Thanks.)
You could just describe your output. Are you getting nothing at all? Or is it
showing all lines of both files? Or none from one and all from the other? Or
just more or fewer l
Noah wrote:
> Rob Dixon wrote:
>> Noah wrote:
>>> Hi there fellow PERL coders.
>>>
>>> I am trying to match lines between a template file and a configuration
>>> file. If the configuration is missing a particular line that is found
>>> in the template file then it is printed. If the configurati
I wish I could share the output.
let me put toether some bogus output files.
Cheers,
Noah
Rob Dixon wrote:
Noah wrote:
Hi there fellow PERL coders.
I am trying to match lines between a template file and a configuration
file. If the configuration is missing a particular line that is found
Noah wrote:
> Hi there fellow PERL coders.
>
> I am trying to match lines between a template file and a configuration
> file. If the configuration is missing a particular line that is found
> in the template file then it is printed. If the configuration file has
> an extra line then it to get
Hi there fellow PERL coders.
I am trying to match lines between a template file and a configuration
file. If the configuration is missing a particular line that is found
in the template file then it is printed. If the configuration file has
an extra line then it to gets printed.
Something
14 matches
Mail list logo