Hello friends , I am trying to make my script process the output from the command line , in other words , another program will generate a big list of output similar to this :
f,t,l,,2,4,4,4,4,2,4,4,4,4,4,8,8,4,4,4,32,-1,f,t,-1,i,ui,1,f,t,4,1,4,1 +,4,136,4,6,f,2 \--option=19 --option=26 --option=27 -$ --display_erro +r_number \ --diag_error 174,187,836 --pch_messages -a --namespaces \ --runtime_uses_namespaces --rtti --bool --explicit --wchar_t_keyword \ +--array_new_and_delete --no_restrict --extern_inline \--implicit_exte +rn_c_type_conversion \ --no_c_and_cpp_functions_are_distinct --no_multibyte_chars \ --new_for_init --short_lifetime_temps --no_alternative_tokens \--signe +d_chars --no_forced_zero_initialization -T -B \--no_distinct_template +_signatures --old_specializations --typename \--implicit_typename --g +uiding_decls -tnone --inlining \ . .
Now I am trying to make my script get this output from the command line b/c I can't direct this output to a file so I have to get it from the command line.

so can someone tell me how to be able to get the output on the command line and be able to parse it with my script. thanks

edit kudra 25-06-2002
Added some formatting


In reply to output on the command line by amoura

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.