Hi Arun,

The .RES file has many lines like: /cadappl/armrvds/2.2b616/RVCT/Programs/2.2/616/linux-pentium/tcc --cpu=ARM9E --debug --no_debug_macros --split_sections --fpu=SoftVFP -O1 --apcs /interwork -c -I../incl -I/vobs/package291/nxp49xx/modules/bbl49xx/incl -I/vobs/package275/audiocodec/modules/codeci/incl -I/vobs/package291/nxp49xx/modules/drv49xx/incl -I/vobs/package162/psenv/modules/errhdl/incl -I/vobs/package275/audiomng/modules/gaudio/incl -I/vobs/package275/audiomng/modules/gaudioi/incl -I/vobs/package155/psaudio/modules/hau/incl -I/vobs/package229/hardwl/modules/hwlaud/incl -I/vobs/package229/hardwl/modules/hwlvf/incl -I/vobs/package161/psstartup/modules/init/incl -I/vobs/package165/pskid/modules/kidglobal/incl -I/vobs/package202/pslayerone/modules/l1a/incl -I/vobs/package202/pslayerone/modules/l1s/incl -I/vobs/package141/psl23common/modules/l23guf/incl -I/vobs/package141/psl23common/modules/l23libint/incl -I/vobs/package164/psmaster/modules/master/incl -I/vobs/package163/psdef/modules/pcc/incl -I/vobs/package158/psrtke/modules/rtke/incl -I/vobs/package291/nxp49xx/modules/sys49xx/incl -I/vobs/package157/pstrace/modules/trace/incl --bss_threshold=0 --diag_suppress=1296 --diag_suppress=550 --gnu --littleend --split_sections -DA5_3_FTR....</para> <para>Now the script should process/match any ONE line (so I used --gnu, which exists in that line) and then look for -DA5_3_FTR words.

The output file (a text file) should typically look like -DARM_ITCM_ACTIVATION_HDW -DATCMD_M2M_DETACH_SWITCHOFF_SFI -DATCMD_M2M_FULL_SW_VERSION_FTR -DATCMD_M2M_PSADC -DATP_ATA_VOICE_FTR -DATP_NO_AUTOBAUDING_FTR -DATP_PPP_OVER_GPRS_FTR


In reply to Re^4: Processing .RES file by raghvens
in thread Processing .RES file by raghvens

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.