Shahzad A Khalid wrote:

I want to read the column mentioning 481 and leaving Cell?= portion.
Then second col. ie 13/12, third col, 5th(AFFX-KurIL2_at) and 7th(13/13).
> Please suggest how do i do that. The code i tried is as follows:

Try this:

  #!/usr/bin/perl -wlna
  print "@F[0..2,4,6]";

Usage: program input > output

If you're not sure if the input file always has at least 7 fields, than add the condition:

  #!/usr/bin/perl -wlna
  print "@F[0..2,4,6]" if @F > 6;

-zsdc.


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to