Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2006
    Posts
    31

    Unanswered: extracting fields

    how do i extract everything from third field onwards in
    cccc_ffff_gggg_sss_ss_yyy_........and so on

    i need to get result as gggg_sss_ss_yyy_........and so on

  2. #2
    Join Date
    May 2005
    Location
    South Africa
    Posts
    1,365
    Provided Answers: 1
    Code:
    #echo cccc_ffff_gggg_sss_ss_yyy... | cut -d'_' -f3-
    gggg_sss_ss_yyy...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •