Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

awk split

Jason M Potter answered on August 5, 2022 Popularity 5/10 Helpfulness 1/10

Contents


More Related Answers

  • awk split on comma
  • split command in splunk
  • awk split each character
  • awk define string as delimiter
  • awk split on comma
  • awk delimiter replace

  • awk split

    0

    Syntax

    Splits the STRING into the ARRAY on the REGEX (regular expression), and returns the number of fields as COUNT. If REGEX is omitted, FS (field separator) is used instead. The ARRAYNAME is cleared first. Splitting behaves identically to field splitting.

    Examples

    c=4
    aname[1]="ABC"
    aname[2]="123"
    aname[3]="XYZ"
    aname[4]="789" 

    Popularity 5/10 Helpfulness 1/10 Language shell
    Source: linux.die.net
    Link to this answer
    Share Copy Link
    Contributed on May 05 2023
    Jason M Potter
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    -1
    Popularity 9/10 Helpfulness 2/10 Language shell
    Source: Grepper
    Tags: shell awk using
    Link to this answer
    Share Copy Link
    Contributed on Aug 05 2022
    Niransha
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.