in reply to Script to differentiate between two baseline in UCM

First of all, you need to put readmore tags around your code. A post longer than about two or three screens is too long. This chunk of code works out to 381 lines when I run it through perltidy. That's too long.

Language differences aside, you'll need to come up with more about what's bad with the code for us to help you. It's actually much more useful if you provide us with a small piece of code that describes your problem; then we'll be able to help you with an answer.

What you've given us is something that needs professional help -- and sorry, I'm not currently available. :)

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

  • Comment on Re: Script to differentiate between two baseline in UCM

Replies are listed 'Best First'.
Re^2: Script to differentiate between two baseline in UCM
by suvendu4urs (Initiate) on Aug 16, 2010 at 15:43 UTC
    Hello, I want to differentiate between two baseline in UCM. Currently i have wrote the script which will show the output in this format....
    DIFFBL INT_1029_Rel6.0.0.90.6100@\DIR_PVOB STD_6.0.0.50_UCM_FOUNDATION +_BL.2103@\DIR_PVOB (COMPONENT TEA) Comparing the following: INT_1029_Rel6.0.0.90.6100@\DIR_PVOB STD_6.0.0.50_UCM_FOUNDATION_BL.2103@\DIR_PVOB Differences: << INT_1029_Rel6.0.0.90.6100 (TEA) >> STD_6.0.0.50_UCM_FOUNDATION_BL.2103 (TEA) << CQ00024500@\DIR_PVOB "600_dev_dab on 20100323.211319." M:\600_int\DIR_source\TEA\TEA_cam.c@@\main\base2ucm_source\600_int +\1 << CQ00024384@\DIR_PVOB "TEA fix for PR 00023876" M:\600_int\DIR_source\TEA\TEA_cam.c@@\main\base2ucm_source\600_dev +_dab\1 DIFFBL INT_1029_Rel6.0.0.90.3395@\DIR_PVOB STD_6.0.0.50_UCM_FOUNDATION +_BL.8902@\DIR_PVOB (COMPONENT GEN) Comparing the following: INT_1029_Rel6.0.0.90.3395@\DIR_PVOB STD_6.0.0.50_UCM_FOUNDATION_BL.8902@\DIR_PVOB Differences: << INT_1029_Rel6.0.0.90.3395 (GEN) >> STD_6.0.0.50_UCM_FOUNDATION_BL.8902 (GEN) none
    But i want to get the ourput in .csv file where it should have 3 columns.

    1st column: containing file name and path(DIR_source\TEA\TEA_cam.c)

    2nd column : containing the version(main/1 or main/2) of the file.

    3rd column: containing a (*) wheather the file is changed or not with the comparable version.

      The good news is that you've boiled down your question to a bite-sized piece. The bad news is that this isn't a Perl question, it's a "How do I do this?" question. And you'll have to do that yourself, or hire a developer.

      Alex / talexb / Toronto

      "Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds