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

split using awk

Niransha answered on August 5, 2022 Popularity 9/10 Helpfulness 2/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

  • split using awk

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

    Closely Related Answers



    2

    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 7/10 Helpfulness 7/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

    0
    Popularity 3/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Tags: awk whatever
    Link to this answer
    Share Copy Link
    Contributed on Aug 01 2024
    Jason M Potter
    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.