Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^5: Merging two files and changing format

by choroba (Chancellor)
on Oct 12, 2012 at 16:49 UTC ( #998744=note: print w/replies, xml ) Need Help??


in reply to Re^4: Merging two files and changing format
in thread Merging two files and changing format

This does not happen when I test it. Please, provide a sample of the input files in <code> ... </code> tags.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^6: Merging two files and changing format
by webby01 (Initiate) on Oct 12, 2012 at 17:08 UTC
    M MitoA10045G 0 10045 M MitoA10551G 0 10551 M MitoA11252G 0 11252 M MitoA11468G 0 11468 M MitoA11813G 0 11813 M MitoA12309G 0 12309 M MitoA13106G 0 13106

    Each line of the following file corresponds with each line of the previous file

    AA AA AA AA AA AA ... AA AA AA AA AA AA ... AA AA AA AA AA AA ... AA AA AA AA AA AA ... AA AA AA AA AA AA ... AA AA AA AA AA AA... AA AA AA AA AA AA...
      I saved your files and ran my script. It complained about one file being shorter, so I adjusted that. The output has no blank lines anywhere.
      لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://998744]
help
Chatterbox?
[GotToBTru]: I appreciate the ability to highlight matching brackets/ parentheses/ braces, both for my own code and the inconsistently indented code of others
[Corion]: I like editors that automatically highlight the matching parenthesis (like % in vi), but that's roughly the extent to which I like editor support ;)
[GotToBTru]: same here Corion.
[Corion]: I tried for a short time (well, 8 hours now) to get Perl::Tidy set up but then found that it doesn't support (new-style) signatures and then stopped again ;))
[GotToBTru]: changing the font color of the rest of the document just because I typed a single quote character is annoying

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2017-02-27 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (385 votes). Check out past polls.